Wed May 09 2018 05:16:15 GMT+0000 (UTC)
- Check for abstraction validation error messages in PA
- This page includes all the Errors\Warnings related to the Abstraction Process
- When no arm is added
- After adding Arm Abstraction Validation message should not be there
- When no Intervention associated to Arm
- After associating Intervention to Arm Validation message should not be there

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00002" 26s

When I go to "Abstraction Validation" section in PA app 2s

Then I verify for the section, message is present or not 0s

Then I click on "Arms" link 2s

And I add an arm 5s

Then I click on "Abstraction Validation" link 2s

Then I verify for the section, message is present or not 1s

Then I click on "Arms" link 1s

And I edit armtype as 'No intervention' 3s

Then I click on "Abstraction Validation" link 4s

Then I verify for the section, message is present or not 0s

- When no Groups and no intervention is added
- After adding Group and intervention Abstraction Validation message should not be there
- When no Intervention associated to Group
- After associating Intervention to Group Validation message should not be there

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02845" 3s

When I go to "Abstraction Validation" section in PA app 4s

Then I verify for the section, message is present or not 1s

Then I click on "Groups/Cohorts" link 1s

And I add a Group with Label "test1" and Description "Group1 description" 2s

Then I click on "Abstraction Validation" link 2s

Then I verify for the section, message is present or not 1s

Then I click on "Groups/Cohorts" link 1s

And I delete all Groups 1s

Then I click on "Interventions" link 1s

And I add an intervention with Type as "Drug" Name as "Barium Sulfate" and description as "test" 4s

Then I click on "Abstraction Validation" link 6s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:49:in `click_page'
./features/step_definitions/eligibility_criteria.rb:30:in `/^I click on "([^"]*)" link$/'
features/pa/ui/abstraction_validation.feature:180:in `Then I click on "Abstraction Validation" link'
features/pa/ui/abstraction_validation.feature:97:in `Then I click on "Abstraction Validation" link'

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I add a Group with Label "test1" and Description "Group1 description"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I associate the Group "1" to Intervention "1"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Interventions" link

And I add an intervention with Type as "Drug" Name as "Liver Transplantation" and description as "test2"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I associate the Group "1" to Intervention "2"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I add a Group with Label "test2" and Description "Group2 description"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I associate the Group "2" to Intervention "2"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

- When no Groups and no intervention is added
- After adding Group and intervention Abstraction Validation message should not be there
- When no Intervention associated to Group
- After associating Intervention to Group Validation message should not be there

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02844" 2s

When I go to "Abstraction Validation" section in PA app 7s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:49:in `click_page'
./features/step_definitions/design_details.rb:8:in `/^I go to "([^"]*)" section in PA app$/'
features/pa/ui/abstraction_validation.feature:181:in `When I go to "Abstraction Validation" section in PA app'
features/pa/ui/abstraction_validation.feature:70:in `When I go to "Abstraction Validation" section in PA app'

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I add a Group with Label "test1" and Description "Group1 description"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I delete all Groups

Then I click on "Interventions" link

And I add an intervention with Type as "Drug" Name as "Barium Sulfate" and description as "test"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I add a Group with Label "test1" and Description "Group1 description"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I associate the Group "1" to Intervention "1"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Interventions" link

And I add an intervention with Type as "Drug" Name as "Liver Transplantation" and description as "test2"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I associate the Group "1" to Intervention "2"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I add a Group with Label "test2" and Description "Group2 description"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I associate the Group "2" to Intervention "2"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

- When no Groups and no intervention is added
- After adding Group and intervention Abstraction Validation message should not be there
- When no Intervention associated to Group
- After associating Intervention to Group Validation message should not be there

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02846" 4s

When I go to "Abstraction Validation" section in PA app 16s

Then I verify for the section, message is present or not 6s + Show Error

Unable to locate element: {"method":"xpath","selector":"//*[@id='row'][2]/tbody"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:275:in `get_element_text'
./features/support/pa/abstraction_validation.rb:30:in `check_abstraction_message'
./features/step_definitions/abstraction_validation.rb:54:in `block (2 levels) in (top (required))'
./features/step_definitions/abstraction_validation.rb:52:in `each'
./features/step_definitions/abstraction_validation.rb:52:in `/^I verify for the section, message is present or not$/'
features/pa/ui/abstraction_validation.feature:193:in `Then I verify for the section, message is present or not'

Then I click on "Groups/Cohorts" link

And I add a Group with Label "test1" and Description "Group1 description"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I delete all Groups

Then I click on "Interventions" link

And I add an intervention with Type as "Drug" Name as "Barium Sulfate" and description as "test"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I add a Group with Label "test1" and Description "Group1 description"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I associate the Group "1" to Intervention "1"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Interventions" link

And I add an intervention with Type as "Drug" Name as "Liver Transplantation" and description as "test2"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I associate the Group "1" to Intervention "2"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I add a Group with Label "test2" and Description "Group2 description"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Groups/Cohorts" link

And I associate the Group "2" to Intervention "2"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

- When Number of Groups/Cohorts is not entered in Design Details then Groups should display the message as Warning and not error

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02870" 4s

When I go to "Abstraction Validation" section in PA app 4s

Then I verify for the section, message is present or not 6s + Show Error

Unable to locate element: {"method":"xpath","selector":"//*[@id='row'][3]/tbody"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:275:in `get_element_text'
./features/support/pa/abstraction_validation.rb:30:in `check_abstraction_message'
./features/step_definitions/abstraction_validation.rb:54:in `block (2 levels) in (top (required))'
./features/step_definitions/abstraction_validation.rb:52:in `each'
./features/step_definitions/abstraction_validation.rb:52:in `/^I verify for the section, message is present or not$/'
features/pa/ui/abstraction_validation.feature:315:in `Then I verify for the section, message is present or not'

Then I click on "Design Details" link

And I update the Number of Groups/Cohorts to "2"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Interventions" link

And I add an intervention with Type as "Drug" Name as "Liver Transplantation" and description as "test"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Then I click on "Interventions" link

And I add an intervention with Type as "Drug" Name as "Barium Sulfate" and description as "test2"

Then I click on "Groups/Cohorts" link

And I add a Group with Label "test1" and Description "Group1 description"

Then I click on "Abstraction Validation" link

Then I verify for the section, message is present or not

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02953" 3s

When I go to "Abstraction Validation" section in PA app 21s

Then I verify for the section, message is present or not 6s + Show Error

Unable to locate element: {"method":"xpath","selector":"//*[@id='row'][1]/tbody"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:275:in `get_element_text'
./features/support/pa/abstraction_validation.rb:30:in `check_abstraction_message'
./features/step_definitions/abstraction_validation.rb:54:in `block (2 levels) in (top (required))'
./features/step_definitions/abstraction_validation.rb:52:in `each'
./features/step_definitions/abstraction_validation.rb:52:in `/^I verify for the section, message is present or not$/'
features/pa/ui/abstraction_validation.feature:355:in `Then I verify for the section, message is present or not'

And I verify "Admin" section displays "17" items

And I verify "Scientific" section displays "13" items

And I verify "Warning" section displays "8" items

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02954" 6s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:9071:in `Utils.initWebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:25:in `log_on_user'
./features/step_definitions/reg_information.rb:15:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/abstraction_validation.feature:401:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02954"'

When I go to "Abstraction Validation" section in PA app

Then I verify for the section, message is present or not

And I verify "Admin" section displays "9" items

And I verify "Scientific" section displays "7" items

And I verify "Warning" section displays "3" items

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02955" 53s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:24:in `search_which_trial'
./features/step_definitions/reg_information.rb:18:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/abstraction_validation.feature:426:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02955"'

When I go to "Abstraction Validation" section in PA app

Then I verify for the section, message is present or not

And I verify "Admin" section displays "5" items

And I verify "Scientific" section displays "13" items

And I verify "Warning" section displays "6" items

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02956" 6s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:9071:in `Utils.initWebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:25:in `log_on_user'
./features/step_definitions/reg_information.rb:15:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/abstraction_validation.feature:443:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02956"'

When I go to "Abstraction Validation" section in PA app

Then I verify for the section, message is present or not

And I verify "Admin" section displays "2" items

And I verify "Scientific" section displays "13" items

And I verify "Warning" section displays "One" items

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02957" 49s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:24:in `search_which_trial'
./features/step_definitions/reg_information.rb:18:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/abstraction_validation.feature:456:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02957"'

When I go to "Abstraction Validation" section in PA app

Then I verify for the section, message is present or not

And I verify "Admin" section displays "5" items

And I verify "Scientific" section displays "13" items

And I verify "Warning" section displays "2" items

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02785" 6s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:9071:in `Utils.initWebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:25:in `log_on_user'
./features/step_definitions/reg_information.rb:15:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/disease_condition.feature:8:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02785"'

When I navigate to Disease/Condition page in PA

And I click on Add button and enter the drug name as Alzheimer's

And I click on Add All button in search Disease screen to add all variants of Diseases

And I click on Add button to add the Diseases to the Disease/Condition

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02786" 1m 0s + Show Error

Net::ReadTimeout (Net::ReadTimeout)
./features/support/helper_methods.rb:147:in `enter_text'
./features/support/pa/search_clinical_trials_pa.rb:20:in `search_by_identifier'
./features/step_definitions/reg_information.rb:16:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/disease_condition.feature:17:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02786"'

When I navigate to Disease/Condition page in PA

And I click on Add button and enter the drug name as cancer

And I click on Add All button in search Disease screen to add all variants of Diseases

And I click on Add button to add the Diseases to the Disease/Condition

Given I want to Import a trial into CTRP with NCT ID "NCT01506141" 50s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:9071:in `Utils.initWebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:25:in `log_on_user'
./features/step_definitions/trial_history_information.rb:17:in `/^I want to Import a trial into CTRP with NCT ID "([^"]*)"$/'
features/pa/ui/trial_description.feature:5:in `Given I want to Import a trial into CTRP with NCT ID "NCT01506141"'

When I click on the Search Trials link

And I click accept button in the trial validation screen

Then I click on "Trial Description" link

And I click on save button in Trial Description page

And Import the same trial into CTRP with NCT ID "NCT01506141"

And verify the Acknowledgement is not generated in Trial History Update page

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 1m 0s + Show Error

Net::ReadTimeout (Net::ReadTimeout)
./features/support/helper_methods.rb:147:in `enter_text'
./features/support/pa/search_clinical_trials_pa.rb:20:in `search_by_identifier'
./features/step_definitions/reg_information.rb:16:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/trial_description.feature:17:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331"'

When I click on "Trial Description" link

Then I fill all fields in trial description page and click save

And I connect to database and verify the fields are saved successfully

Given I login into CTRP Registry 16s

When I navigate to a new National trial screen 2s

And I complete the remaining trial 19s + Show Error

Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/registry_ind_ide_info.rb:328:in `/^I complete the remaining trial$/'
features/registry/ui/IND_IDE_edit.feature:7:in `And I complete the remaining trial'

And I click to review trial

And I Edit the trial

Then I go to FDA IND/IDE Information for applicable trials section

And "Expanded Access" field should be renamed to "Availability of Expanded Access"

And by default the value should be selected as "Unknown"

And It should have value as "Unknown" "No" "Yes"

And "Expanded Access Type (if applicable)" field should be renamed to "Expanded Access Record (if applicable)"

And "Exempt" field should be removed

And "Expanded access record" should be Enabled or disabled based on "Availability of Expanded Access"

And the help text should be "Will any non-protocol access to the investigational drug, biologic or device be provided?" for "Availability of Expanded Access"

And the help text should be "ClinicalTrials.gov identifier (NCT number) for the associated Expanded Access record." for "Expanded Access Record"

And for the with NULL OR error value it shall give validation as

And I select the "Availability of Expanded Access" as "Yes"

And I add incorrect value in the Expanded access record as

And I enter the remaining IND-IDE information

Then it shall not add the IND IDE and give error message as "Expanded Access Record must be a ClinicalTrials.gov identifier (NCT number) in the format NCT99999999"

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 13s

Then I verify the IND-IDE information 0s

And I complete the remaining trial 14s + Show Error

Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h'
[remote server] file:///tmp/webdriver-profile20180509-20782-3uluhj/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/registry_ind_ide_info.rb:328:in `/^I complete the remaining trial$/'
features/registry/ui/IND_IDE_edit.feature:71:in `And I complete the remaining trial'

And I click to review trial

Then I verify the IND-IDE information on Review page

And I Edit the trial

Then I verify the IND-IDE information

And I delete one of the IND-IDE

And I Review the deleted IND-IDE and Submit the trial

Then I verify the IND-IDE information on Submit page after delete

And I verify the db for correct IND-IDE after delete

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 10s

Then I verify the IND-IDE information 0s

And I complete the remaining Non-Interventional trial 29s

And I click to review trial 1s

Then I verify the IND-IDE information on Review page 2s

And I Edit the trial 4s

Then I verify the IND-IDE information 1s

And I delete all IND-IDE 2s

Then I verify there are no the IND-IDE information 6s

And I Review and Submit the trial with no IND-IDE 11s

Then I verify there is no IND-IDE information on Submit page for "National" trial and "Non-Interventional" trial 6s

And I verify the db for no IND-IDE 1s

Given I login into CTRP Registry 1s

When I navigate to a new Institutional screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And I add the IND record with IND number as "1234" 5s

And I complete the remaining Non-Interventional trial 27s

And I click to review trial 1s

And I Edit the trial 5s

And I add the IND record with IND number as "1234" 3s

And I click to review trial 0s

Then It shall give message as "Duplicate IND/IDEs are not allowed." 5s

And I delete the duplicate IND number 0s

And I add new IND-IDE 9s

And I click to review trial 1s

Then I verify the IND-IDE information on Review page 1s

And I Edit the trial 4s

Then I verify the IND-IDE information 0s

And I Review and Submit the trial 7s

Then I verify the IND-IDE information on Submit page for "Institutional" trial and "Non-Interventional" trial 1s

And I verify the db for correct IND-IDE 1s

- To add new Program Codes in an Organization Family
- To edit the existing program code
- To delete the existing program code
- To manage the existing program code
- To export the program code
- Should allow to delete the Program code

Given I login into CTRP Registry 3s

Then I go to "Manage Program Codes Master List" 2s

And I select "FAM_03" from the Organization Family list 3s

When I click to delete the Program code as "1" 1s

Then In delete page it shall not list any Trial 6s

When I select "Delete" to delete the Program Code 1s

Then Program code should be deleted 2s

- TSR File name
- TSR generated date
- Condition to generate TSR file

Given I click to view tsr of nci_id "NCI-2017-02728" with amd as "amd_12" and sub_num as "2" from PA app, Abstraction Validation screen 37s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 2s

Given I click to view tsr of nci_id "NCI-2017-02837" with amd as "Versions # 1-3" and sub_num as "3" from PA app, Abstraction Validation screen 12s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 0s

Given I click to view tsr of nci_id "NCI-2017-02840" with amd as "(Vers 1.4)" and sub_num as "6" from PA app, Abstraction Validation screen 14s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 2s

Given I click to view tsr of nci_id "NCI-2017-02841" with amd as "V. 7/27/10" and sub_num as "7" from PA app, Abstraction Validation screen 12s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 0s

Given I click to view tsr of nci_id "NCI-2017-02847" with amd as "Revision 3 Amendment v10/29/15" and sub_num as "11" from PA app, Abstraction Validation screen 12s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 2s

Given I click to view tsr of nci_id "NCI-2017-02848" with amd as "R05 (R04,R02 protocols included; R03 Withdrawn; R01 Disapproved)" and sub_num as "12" from PA app, Abstraction Validation screen 13s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 2s

Given I click to view tsr of nci_id "NCI-2017-02850" with amd as "AM 7, AM 8, AM 9, AM 10, AM 11, AM 12, CR 2" and sub_num as "14" from PA app, Abstraction Validation screen 12s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 2s

Given I click to view tsr of nci_id "NCI-2017-02853" with amd as "~!@#$%^&*()_+{}:><,./;'[]\=-`" and sub_num as "17" from PA app, Abstraction Validation screen 13s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 2s

Given I click to view tsr of nci_id "NCI-2017-02728" with amd as "amd_12" and sub_num as "2" from PA app, View TSR Navigation menu 11s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 0s

Given I click to view tsr of nci_id "NCI-2017-02840" with amd as "(Vers 1.4)" and sub_num as "6" from PA app, View TSR Navigation menu 10s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 0s

Given I click to view tsr of nci_id "NCI-2017-02841" with amd as "V. 7/27/10" and sub_num as "7" from PA app, View TSR Navigation menu 8s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 0s

Given I click to view tsr of nci_id "NCI-2017-02843" with amd as "V4/28/2015" and sub_num as "9" from PA app, View TSR Navigation menu 8s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 0s

Given I click to view tsr of nci_id "NCI-2017-02848" with amd as "R05 (R04,R02 protocols included; R03 Withdrawn; R01 Disapproved)" and sub_num as "12" from PA app, View TSR Navigation menu 11s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 0s

Given I click to view tsr of nci_id "NCI-2017-02849" with amd as "Amendment 8 (R1/A4/A6/A7 disapproved)" and sub_num as "13" from PA app, View TSR Navigation menu 10s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 0s

Given I click to view tsr of nci_id "NCI-2017-02851" with amd as "7/14/2016" and sub_num as "15" from PA app, View TSR Navigation menu 10s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 0s

Given I click to view tsr of nci_id "NCI-2017-02853" with amd as "~!@#$%^&*()_+{}:><,./;'[]\=-`" and sub_num as "17" from PA app, View TSR Navigation menu 11s

Then the file name should be "TSR_<>_<>_A<>" for "amendment" 0s

Given I view tsr of nci_id "NCI-2017-02728" with amd as "amd_12" and sub_num as "2" from Email 19s + Show Error

validating Milestone Trial Summary Report Date present in Milestone table.
(true) expected but was
(false). (Test::Unit::AssertionFailedError)
./features/support/pa/trial_milestones.rb:24:in `check_milestone_exist'
./features/support/tsr/tsr_helper.rb:103:in `tsr_as_email_attachment'
./features/step_definitions/tsr_basic.rb:110:in `/^I view tsr of nci_id "([^"]*)" with amd as "([^"]*)" and sub_num as "([^"]*)" from Email$/'
features/tsr/tsr_basic.feature:101:in `Given I view tsr of nci_id "NCI-2017-02728" with amd as "amd_12" and sub_num as "2" from Email'
features/tsr/tsr_basic.feature:97:in `Given I view tsr of nci_id "(nci_id)" with amd as "(amendment_number)" and sub_num as "(sub_num)" from Email'

Then the file name in email should be "TSR_<>_<>_A<>" for "amendment"

Given I view tsr of nci_id "NCI-2017-02841" with amd as "V. 7/27/10" and sub_num as "7" from Email 33s + Show Error

validating Milestone Trial Summary Report Date present in Milestone table.
(true) expected but was
(false). (Test::Unit::AssertionFailedError)
./features/support/pa/trial_milestones.rb:24:in `check_milestone_exist'
./features/support/tsr/tsr_helper.rb:103:in `tsr_as_email_attachment'
./features/step_definitions/tsr_basic.rb:110:in `/^I view tsr of nci_id "([^"]*)" with amd as "([^"]*)" and sub_num as "([^"]*)" from Email$/'
features/tsr/tsr_basic.feature:106:in `Given I view tsr of nci_id "NCI-2017-02841" with amd as "V. 7/27/10" and sub_num as "7" from Email'
features/tsr/tsr_basic.feature:97:in `Given I view tsr of nci_id "(nci_id)" with amd as "(amendment_number)" and sub_num as "(sub_num)" from Email'

Then the file name in email should be "TSR_<>_<>_A<>" for "amendment"

Given I view tsr of nci_id "NCI-2017-02843" with amd as "V4/28/2015" and sub_num as "9" from Email 42s

Then the file name in email should be "TSR_<>_<>_A<>" for "amendment" 1s

Given I view tsr of nci_id "NCI-2017-02847" with amd as "Revision 3 Amendment v10/29/15" and sub_num as "11" from Email 14s

Then the file name in email should be "TSR_<>_<>_A<>" for "amendment" 1s

Given I view tsr of nci_id "NCI-2017-02848" with amd as "R05 (R04,R02 protocols included; R03 Withdrawn; R01 Disapproved)" and sub_num as "12" from Email 15s

Then the file name in email should be "TSR_<>_<>_A<>" for "amendment" 1s

Given I view tsr of nci_id "NCI-2017-02850" with amd as "AM 7, AM 8, AM 9, AM 10, AM 11, AM 12, CR 2" and sub_num as "14" from Email 15s

Then the file name in email should be "TSR_<>_<>_A<>" for "amendment" 1s

Given I view tsr of nci_id "NCI-2017-02853" with amd as "~!@#$%^&*()_+{}:><,./;'[]\=-`" and sub_num as "17" from Email 16s

Then the file name in email should be "TSR_<>_<>_A<>" for "amendment" 1s

Given I update the status code of Submitter CI as 'INACTIVE' 0s

When I login into CTRP and search for a trial with NCI ID "NCI-2017-00392" 26s

Then I click on "Assign Ownership" link 4s

And I verify 'Submitter (Inactive)' CI is displayed 0s

When I login into CTRP Registry 16s

Then I navigate to Trial OwnerShip Manage page 6s + Show Error

Unable to locate element: {"method":"xpath","selector":"//a[contains(.,'Administration ')]"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/registry/menu_navigation.rb:54:in `trial_ownership_manage'
./features/step_definitions/assign_ownership.rb:28:in `/^I navigate to Trial OwnerShip Manage page$/'
features/pa/ui/assign_ownership.feature:17:in `Then I navigate to Trial OwnerShip Manage page'

And I verify 'CI, Submitter (Inactive)' is not displayed under Users affiliated with this site, and family members

- To remove the check in PA that currently prevents the start date to be in the future
- To remove the check from Abstraction validation
- To remove the check in Registry that currently prevents the start date to be in the future
- To check in REST that currently prevents the start date to be in the future
- To check the PCD can accept past date with Anticipated selected

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02959" 19s

Then I click on "Trial Status" link 1s

And I click on Trial History 1s

And base trial status for trial is "In Review" with validation "V(valid)" 0s

When I switch to below trial status, following validation should be there 27s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02960" 5s

Then I click on "Trial Status" link 1s

And I click on Trial History 1s

And base trial status for trial is "Approved" with validation "W(In Review)" 0s

When I switch to below trial status, following validation should be there 29s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02962" 3s

Then I click on "Trial Status" link 1s

And I click on Trial History 1s + Show Error

Verifying "validating Trial Status History page header"
Expect value is Trial Status History
Actual value is Trial Status | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/support/pa/trial_status.rb:28:in `verify_history_page_header'
./features/support/pa/pa_trial_status_helper.rb:7:in `click_status_history'
./features/step_definitions/trial_status.rb:45:in `/^I click on Trial History$/'
features/pa/ui/trial_status.feature:83:in `And I click on Trial History'
features/pa/ui/trial_status.feature:64:in `And I click on Trial History'

And base trial status for trial is "Withdrawn" with validation "W(In Review);W(Approved)"

When I switch to below trial status, following validation should be there

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02961" 4s

Then I click on "Trial Status" link 2s

And I click on Trial History 1s

And base trial status for trial is "Active" with validation "W(In Review);W(Approved)" 0s

When I switch to below trial status, following validation should be there 4m 9s + Show Error

Net::ReadTimeout (Net::ReadTimeout)
./features/support/helper_methods.rb:297:in `get_element_size'
./features/support/pa/trial_status.rb:88:in `get_table_size'
./features/support/pa/pa_trial_status_helper.rb:16:in `add_verify_delete_status'
./features/step_definitions/trial_status.rb:58:in `block (2 levels) in (top (required))'
./features/step_definitions/trial_status.rb:56:in `each'
./features/step_definitions/trial_status.rb:56:in `/^I switch to below trial status, following validation should be there$/'
features/pa/ui/trial_status.feature:84:in `When I switch to below trial status, following validation should be there'
features/pa/ui/trial_status.feature:66:in `When I switch to below trial status, following validation should be there'

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02963" 1m 18s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:25:in `search_which_trial'
./features/step_definitions/reg_information.rb:18:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/trial_status.feature:85:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02963"'
features/pa/ui/trial_status.feature:62:in `Given I login into CTRP and search for a trial with NCI ID "(nci_id)"'

Then I click on "Trial Status" link

And I click on Trial History

And base trial status for trial is "Enrolling by Invitation" with validation "W(In Review);W(Approved)"

When I switch to below trial status, following validation should be there

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02968" 3s

Then I click on "Trial Status" link 2s

And I click on Trial History 1s

And base trial status for trial is "Closed to Accrual" with validation "W(In Review);W(Approved)" 0s

When I switch to below trial status, following validation should be there 38s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02965" 7s

Then I click on "Trial Status" link 5s

And I click on Trial History 1s

And base trial status for trial is "Closed to Accrual and Intervention" with validation "W(In Review);W(Approved);W(Closed to Accrual)" 0s

When I switch to below trial status, following validation should be there 56s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02966" 7s

Then I click on "Trial Status" link 5s

And I click on Trial History 1s

And base trial status for trial is "Temporarily Closed to Accrual" with validation "W(In Review);W(Approved" 0s

When I switch to below trial status, following validation should be there 43s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02967" 5s

Then I click on "Trial Status" link 6s

And I click on Trial History 2s

And base trial status for trial is "Temporarily Closed to Accrual and Intervention" with validation "W(In Review);W(Approved);W(Temporarily Closed to Accrual)" 0s

When I switch to below trial status, following validation should be there 1m 15s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02964" 15s

Then I click on "Trial Status" link 9s

And I click on Trial History 2s

And base trial status for trial is "Complete" with validation "W(In Review);W(Approved);W(Closed to Accrual);W(Closed to Accrual and Intervention)" 0s

When I switch to below trial status, following validation should be there 1m 19s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02969" 8s

Then I click on "Trial Status" link 9s

And I click on Trial History 2s

And base trial status for trial is "Administratively Complete" with validation "W(In Review);W(Approved);W(Active);W(Closed to Accrual);W(Closed to Accrual and Intervention)" 0s

When I switch to below trial status, following validation should be there 1m 28s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02970" 27s

Then I click on "Trial Status" link 2s

And I click on Trial History 1s

And base trial status for trial is "In Review" with validation "V(valid)" 0s

When I switch to below trial status, following validation should be there 1m 4s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02971" 8s

Then I click on "Trial Status" link 7s + Show Error

Unable to locate element: {"method":"xpath","selector":"//a[contains(.,'Trial Status')]"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:49:in `click_page'
./features/step_definitions/eligibility_criteria.rb:30:in `/^I click on "([^"]*)" link$/'
features/pa/ui/trial_status.feature:116:in `Then I click on "Trial Status" link'
features/pa/ui/trial_status.feature:97:in `Then I click on "Trial Status" link'

And I click on Trial History

And base trial status for trial is "Approved" with validation "W(In Review)"

When I switch to below trial status, following validation should be there

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02972" 18s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:24:in `search_which_trial'
./features/step_definitions/reg_information.rb:18:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/trial_status.feature:117:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02972"'
features/pa/ui/trial_status.feature:96:in `Given I login into CTRP and search for a trial with NCI ID "(nci_id)"'

Then I click on "Trial Status" link

And I click on Trial History

And base trial status for trial is "Withdrawn" with validation "W(In Review);W(Approved)"

When I switch to below trial status, following validation should be there

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02973" 5s

Then I click on "Trial Status" link 9s

And I click on Trial History 2s

And base trial status for trial is "Active" with validation "W(In Review);W(Approved)" 0s

When I switch to below trial status, following validation should be there 57s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02974" 6s

Then I click on "Trial Status" link 4s

And I click on Trial History 1s

And base trial status for trial is "Enrolling by Invitation" with validation "W(In Review);W(Approved)" 0s

When I switch to below trial status, following validation should be there 59s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02975" 11s

Then I click on "Trial Status" link 6s

And I click on Trial History 2s

And base trial status for trial is "Closed to Accrual" with validation "W(In Review);W(Approved);W(Active)" 0s

When I switch to below trial status, following validation should be there 1m 35s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02976" 8s

Then I click on "Trial Status" link 9s

And I click on Trial History 8s

And base trial status for trial is "Closed to Accrual and Intervention" with validation "W(In Review);W(Approved);W(Active);W(Closed to Accrual)" 0s

When I switch to below trial status, following validation should be there 1m 23s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02977" 8s

Then I click on "Trial Status" link 10s

And I click on Trial History 2s

And base trial status for trial is "Temporarily Closed to Accrual" with validation "W(In Review);W(Approved);W(Active)" 0s

When I switch to below trial status, following validation should be there 1m 20s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02978" 10s

Then I click on "Trial Status" link 7s + Show Error

Unable to locate element: {"method":"xpath","selector":"//a[contains(.,'Trial Status')]"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:49:in `click_page'
./features/step_definitions/eligibility_criteria.rb:30:in `/^I click on "([^"]*)" link$/'
features/pa/ui/trial_status.feature:123:in `Then I click on "Trial Status" link'
features/pa/ui/trial_status.feature:97:in `Then I click on "Trial Status" link'

And I click on Trial History

And base trial status for trial is "Temporarily Closed to Accrual and Intervention" with validation "W(In Review);W(Approved);W(Active);W(Temporarily Closed to Accrual)"

When I switch to below trial status, following validation should be there

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02979" 15s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:24:in `search_which_trial'
./features/step_definitions/reg_information.rb:18:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/trial_status.feature:124:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02979"'
features/pa/ui/trial_status.feature:96:in `Given I login into CTRP and search for a trial with NCI ID "(nci_id)"'

Then I click on "Trial Status" link

And I click on Trial History

And base trial status for trial is "Complete" with validation "W(In Review);W(Approved);W(Active);W(Closed to Accrual);W(Closed to Accrual and Intervention)"

When I switch to below trial status, following validation should be there

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02980" 5s

Then I click on "Trial Status" link 5s

And I click on Trial History 2s

And base trial status for trial is "Administratively Complete" with validation "W(In Review);W(Approved);W(Active);W(Closed to Accrual);W(Closed to Accrual and Intervention)" 0s

When I switch to below trial status, following validation should be there 1m 8s

Given I Create a complete (Interventional) trial using RESTful service with delayedPosting as 'true' 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I connect to the database and verify the 'delayed_posting_indicator' field has value 'f' 0s

Given I Create a complete (Interventional) trial using RESTful service with delayedPosting as 'false' 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I connect to the database and verify the 'delayed_posting_indicator' field has value 'f' 0s

Given I Create a complete (Interventional) trial using RESTful service with delayedPosting as 'null' 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I connect to the database and verify the 'delayed_posting_indicator' field has value 'f' 0s

Given I Create a complete (Interventional) trial using RESTful service without unapp/unclea and pediatric post-market fields 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I connect to the database and verify the 'delayed_posting_indicator' field has value 'f' 0s

Then I connect to dynamo db and verify 'ped_postmarket_surv' field is null 6s

Given I Create a complete (Interventional) trial using RESTful service with postprior field as 'true' 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I connect to dynamo db and verify 'post_prior_to_approval' field has value 'true' 0s

Given I Create a complete (Interventional) trial using RESTful service with postprior field as 'false' 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I connect to dynamo db and verify 'post_prior_to_approval' field has value 'false' 0s

Given I Create a complete (Interventional) trial using RESTful service with postprior field as 'null' 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I connect to dynamo db and verify 'post_prior_to_approval' field is null 6s

Given I Create a complete (Interventional) trial using RESTful service with device prouct as 'false' 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I connect to the database and verify the 'delayed_posting_indicator' field has value 'f' 0s

Then I connect to dynamo db and verify 'post_prior_to_approval' field is null 6s

Then I connect to dynamo db and verify 'ped_postmarket_surv' field is null 6s

Given I Create a complete (Interventional) trial using RESTful service with fda regulated as 'false' 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I connect to the database and verify the 'section801_indicator' field has value '' 0s + Show Error

expected: ""
     got: "t"

(compared using ==)
 (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/restservices_validations.rb:9:in `/^I connect to the database and verify the '([^"]*)' field has value '([^"]*)'$/'
features/pa_trials_api/restservices_validations.feature:67:in `Then I connect to the database and verify the 'section801_indicator' field has value '''

Given I login into CTRP Registry 16s

When I navigate to a new National trial screen 2s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And "Expanded Access" field should be renamed to "Availability of Expanded Access" 0s

And by default the value should be selected as "Unknown" 0s

And It should have value as "Unknown" "No" "Yes" 0s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And "Expanded Access Type (if applicable)" field should be renamed to "Expanded Access Record (if applicable)" 0s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And "Exempt" field should be removed 6s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And "Expanded access record" should be Enabled or disabled based on "Availability of Expanded Access" 3s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And I select the "Availability of Expanded Access" as "Yes" 1s

And I add the value as "NCT12345678" in the "Expanded access record" 1s

And I enter the remaining IND-IDE information 4s

And I click to add the IND IDE 1s

Then it shall add the IND IDE with the "Availability of Expanded Access" as "Yes" and "Expanded access record" as "NCT12345678" 0s

And it shall allow to delete the record 7s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And I select the "Availability of Expanded Access" as "No" 1s

And I enter the remaining IND-IDE information 5s

And I click to add the IND IDE 1s

Then it shall add the IND IDE with the "Availability of Expanded Access" as "No" 0s

And it shall allow to delete the record 7s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And I select the "Availability of Expanded Access" as "Unknown" 0s

And I enter the remaining IND-IDE information 4s

And I click to add the IND IDE 1s

Then it shall add the IND IDE with the "Availability of Expanded Access" as "Unknown" 0s

And it shall allow to delete the record 7s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

Then the help text should be "Will any non-protocol access to the investigational drug, biologic or device be provided?" for "Availability of Expanded Access" 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

Then the help text should be "ClinicalTrials.gov identifier (NCT number) for the associated Expanded Access record." for "Expanded Access Record" 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And I select the "Availability of Expanded Access" as "Yes" 1s

And I add incorrect value in the Expanded access record as 0s

And I enter the remaining IND-IDE information 4s

Then it shall not add the IND IDE and give error message as "Expanded Access Record must be a ClinicalTrials.gov identifier (NCT number) in the format NCT99999999" 47s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

Then for the with NULL OR error value it shall give validation as 11s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 17s

Then I verify the IND-IDE information 1s

And I complete the remaining trial 31s

And I click to review trial 1s

Then I verify the IND-IDE information on Review page 2s

And I Edit the trial 5s

Then I verify the IND-IDE information 1s

And I Review and Submit the trial 9s

Then I verify the IND-IDE information on Submit page for "National" trial and "Interventional" trial 1s

And I verify the db for correct IND-IDE 2s

Given I login into CTRP Registry 2s

When I navigate to a new Externally Peer-Reviewed screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 19s

Then I verify the IND-IDE information 1s

And I complete the remaining trial 28s

And I click to review trial 1s

Then I verify the IND-IDE information on Review page 2s

And I Edit the trial 5s

Then I verify the IND-IDE information 1s

And I Review and Submit the trial 6s

Then I verify the IND-IDE information on Submit page for "Externally Peer-Reviewed" trial and "Interventional" trial 1s

And I verify the db for correct IND-IDE 1s

Given I login into CTRP Registry 1s

When I navigate to a new Institutional screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 17s

Then I verify the IND-IDE information 1s

And I complete the remaining trial 21s + Show Error

Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible'
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_'
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h'
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/registry_ind_ide_info.rb:328:in `/^I complete the remaining trial$/'
features/registry/ui/IND_IDE.feature:162:in `And I complete the remaining trial'

And I click to review trial

Then I verify the IND-IDE information on Review page

And I Edit the trial

Then I verify the IND-IDE information

And I Review and Submit the trial

Then I verify the IND-IDE information on Submit page for "Institutional" trial and "Interventional" trial

And I verify the db for correct IND-IDE

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 16s

Then I verify the IND-IDE information 1s

And I complete the remaining Non-Interventional trial 36s

And I click to review trial 0s

Then I verify the IND-IDE information on Review page 2s

And I Edit the trial 5s

Then I verify the IND-IDE information 1s

And I Review and Submit the trial 6s

Then I verify the IND-IDE information on Submit page for "National" trial and "Non-Interventional" trial 1s

And I verify the db for correct IND-IDE 2s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

And I complete the remaining Non-Interventional trial 38s

And I click to review trial 1s

Then I verify there are no IND-IDE information on Review page 8s

And I Edit the trial 5s

Then I verify there are no the IND-IDE information 6s

And I Review and Submit the trial with no IND-IDE 11s

Then I verify there is no IND-IDE information on Submit page for "National" trial and "Non-Interventional" trial 6s

And I verify the db for no IND-IDE 1s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

And I complete the remaining trial 33s

And I click to review trial 1s

Then I verify there are no IND-IDE information on Review page 8s

And I Edit the trial 4s

Then I verify there are no the IND-IDE information 6s

And I Review and Submit the trial with no IND-IDE 11s

Then I verify there is no IND-IDE information on Submit page for "National" trial and "Interventional" trial 6s

And I verify the db for no IND-IDE 1s

Given I login into CTRP Registry 2s

When I navigate to a new Institutional screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And I add the IND record with IND number as "1234" 5s

And I add the IND record with IND number as "1234" 4s

And I click to review trial 1s

Then It shall give message as "Duplicate IND/IDEs are not allowed." 5s

And I delete the duplicate IND number 1s

And I add new IND-IDE 11s

And I complete the remaining trial 27s

And I click to review trial 0s

Then I verify the IND-IDE information on Review page 2s

And I Edit the trial 6s

Then I verify the IND-IDE information 1s

And I Review and Submit the trial 6s

Then I verify the IND-IDE information on Submit page for "Institutional" trial and "Interventional" trial 0s

And I verify the db for correct IND-IDE 1s

Given I login into CTRP Registry 3s

When I navigate to a new Institutional screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And I add the IND record with IND number as "1234" 5s

And I add the IND record with IND number as "1234" 5s

And I click to review trial 1s

Then It shall give message as "Duplicate IND/IDEs are not allowed." 4s

And I delete the duplicate IND number 1s

And I add new IND-IDE 11s

And I complete the remaining trial 27s

And I click to review trial 1s

Then I verify the IND-IDE information on Review page 3s

And I Edit the trial 4s

Then I verify the IND-IDE information 1s

And I Review and Submit the trial 7s

Then I verify the IND-IDE information on Submit page for "Institutional" trial and "Interventional" trial 0s

And I verify the db for correct IND-IDE 1s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 1s

Then I go to FDA IND/IDE Information for applicable trials section 3s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes (no Expanded Access record), No 18s

Then I verify the IND-IDE information 1s

And I complete the remaining trial 20s + Show Error

Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible'
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_'
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h'
[remote server] file:///tmp/webdriver-profile20180509-20784-9d34cg/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/registry_ind_ide_info.rb:337:in `/^I complete the remaining trial$/'
features/registry/ui/IND_IDE.feature:309:in `And I complete the remaining trial'

And I click to review trial

Then I verify the IND-IDE information on Review page

And I Edit the trial

Then I verify the IND-IDE information

And I Review and Submit the trial

Then I verify the IND-IDE information on Submit page for "National" trial and "Interventional" trial

And I verify the db for correct IND-IDE

Given I login into CTRP Registry 2s

And I search for Trial with NCI ID "NCI-2017-02650" 2s

And I select to Amend the Trial 1s

Then It shall take to the Amend Trial page 5s

And If IND-IDE information is available on Amend page 0s

Then "Expanded Access" field should be renamed to "Availability of Expanded Access" 0s

And "Expanded Access Type (if applicable)" field should be renamed to "Expanded Access Record (if applicable)" 1s

And "Exempt" field should be removed 6s

Given I login into CTRP Registry 2s

And I search for Trial with NCI ID "NCI-2017-02650" 2s

And I select to Amend the Trial 1s

Then It shall take to the Amend Trial page 5s

Then I go to FDA IND/IDE Information for applicable trials section 0s

And "Expanded Access" field should be renamed to "Availability of Expanded Access" 0s

And by default the value should be selected as "Unknown" 0s

And It should have value as "Unknown" "No" "Yes" 0s

And "Expanded Access Type (if applicable)" field should be renamed to "Expanded Access Record (if applicable)" 0s

And "Exempt" field should be removed 6s

And "Expanded access record" should be Enabled or disabled based on "Availability of Expanded Access" 4s

And the help text should be "Will any non-protocol access to the investigational drug, biologic or device be provided?" for "Availability of Expanded Access" 0s

And the help text should be "ClinicalTrials.gov identifier (NCT number) for the associated Expanded Access record." for "Expanded Access Record" 0s

And for the with NULL OR error value it shall give validation as 12s

And I select the "Availability of Expanded Access" as "Yes" 1s

And I add incorrect value in the Expanded access record as 0s

And I enter the remaining IND-IDE information 5s

Then it shall not add the IND IDE and give error message as "Expanded Access Record must be a ClinicalTrials.gov identifier (NCT number) in the format NCT99999999" 50s

Given I login into CTRP Registry 2s

And I search for Trial with NCI ID "NCI-2017-02651" 2s

And I select to Amend the Trial 1s

Then It shall take to the Amend Trial page 5s

And If no IND-IDE information is available on Amend page 6s

Then It shall not display IND-IDE table on Amend page 6s

Given I login into CTRP Registry 2s

And I search for "Interventional" "National" Trial with NCI ID "NCI-2017-02652" 3s

And I select to Amend the Trial 1s

Then It shall take to the Amend Trial page 5s

And It shall display the content of IND-IDE table correctly on Amend page 0s

And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 17s

Then I verify all the IND-IDE information on Amend page 1s

And I complete the remaining Amend trial 1s

And I click to review trial 0s

Then I verify all the IND-IDE information on Amend Review page 2s

And I Edit the trial 5s

Then I verify all the IND-IDE information on Amend page 1s

And I Review and Submit the trial after amendment 8s

Then I verify all the IND-IDE information on Amend Submit page for "National" trial 1s

And I verify the db for correct IND-IDE after amendment 2s

Given I login into CTRP Registry 2s

And I search for "Interventional" "National" Trial with NCI ID "NCI-2017-02653" 3s

And I select to Amend the Trial 1s

Then It shall take to the Amend Trial page 6s

And If no IND-IDE information is available on Amend page 6s

Then It shall not display IND-IDE table on Amend page 6s

And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 16s

Then I verify all the added IND-IDE information on Amend page 0s

And I complete the remaining Amend trial 1s

And I click to review trial 1s

Then I verify all the added IND-IDE information on Amend Review page 2s

And I Edit the trial 5s

Then I verify all the added IND-IDE information on Amend page 1s

And I Review and Submit the trial after the amendment 7s

Then I verify all the added IND-IDE information on Amend Submit page for "National" trial 1s

And I verify the db for correct added IND-IDE after amendment 2s

Given I login into CTRP Registry 1s

And I search for "Interventional" "Externally Peer-Reviewed" Trial with NCI ID "NCI-2017-02654" 3s

And I select to Amend the Trial 1s

Then It shall take to the Amend Trial page 8s

And It shall display the content of IND-IDE table correctly on Amend page 1s

And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 16s

Then I verify all the IND-IDE information on Amend page 1s

And I complete the remaining Amend trial 1s

And I click to review trial 1s

Then I verify all the IND-IDE information on Amend Review page 2s

And I Edit the trial 3s

Then I verify all the IND-IDE information on Amend page 0s

And I Review and Submit the trial after amendment 6s

Then I verify all the IND-IDE information on Amend Submit page for "Externally Peer-Reviewed" trial 1s

And I verify the db for correct IND-IDE after amendment 2s

Given I login into CTRP Registry 1s

And I search for "Interventional" "Institutional" Trial with NCI ID "NCI-2017-02655" 2s

And I select to Amend the Trial 1s

Then It shall take to the Amend Trial page 5s

And It shall display the content of IND-IDE table correctly on Amend page 1s

And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 14s

Then I verify all the IND-IDE information on Amend page 1s

And I complete the remaining Amend trial 0s

And I click to review trial 1s

Then I verify all the IND-IDE information on Amend Review page 3s

And I Edit the trial 4s

Then I verify all the IND-IDE information on Amend page 1s

And I Review and Submit the trial after amendment 7s

Then I verify all the IND-IDE information on Amend Submit page for "Institutional" trial 1s

And I verify the db for correct IND-IDE after amendment 2s

Given I login into CTRP Registry 1s

And I search for "NonInterventional" "National" Trial with NCI ID "NCI-2017-02656" 3s

And I select to Amend the Trial 1s

Then It shall take to the Amend Trial page 4s

And It shall display the content of IND-IDE table correctly on Amend page 0s

And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 12s

Then I verify all the IND-IDE information on Amend page 1s

And I complete the remaining Amend trial 1s

And I click to review trial 0s

Then I verify all the IND-IDE information on Amend Review page 3s

And I Edit the trial 4s

Then I verify all the IND-IDE information on Amend page 1s

And I Review and Submit the trial after amendment 8s

Then I verify all the IND-IDE information on Amend Submit page for "National" trial 1s

And I verify the db for correct IND-IDE after amendment 2s

Given I login into CTRP Registry 3s

And I search for "NonInterventional" "National" Trial with NCI ID "NCI-2017-02657" 2s

And I select to Amend the Trial 1s

Then It shall take to the Amend Trial page 3s

And It shall display the content of IND-IDE table correctly on Amend page 1s

Then It shall not allow to delete the existing IND-IDE 18s

And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 7s

Then It shall allow to delete the newly added IND-IDE 2s

Given I login into CTRP Registry 1s

And I search for "Interventional" "National" Trial with NCI ID "NCI-2017-02658" 2s

And I select to Amend the Trial 0s

Then It shall take to the Amend Trial page 5s

And It shall display the content of IND-IDE table correctly on Amend page 1s

And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 12s

Then I verify all the IND-IDE information on Amend page 1s

And I complete the remaining Amend trial with no value selected for FDA Indicator 2s

And I click to review trial 1s

Then I verify all the IND-IDE information on Amend Review page 2s

And I click to submit trial 4s

Then It shall give error message as "Error Message: FDA Regulated Intervention Indicator must be Yes since it has Trial IND/IDE records." 0s

And I select "FDA Regulated Intervention Indicator" as "Yes" 1s

And I click to review trial 1s

And I click to submit trial 5s

Then I verify all the IND-IDE information on Amend Submit page for "National" trial 1s

And I verify "FDA Regulated Intervention Indicator" is set to "Yes" on Amend page 0s

And I verify "Section 801 Indicator" has no value 0s

And I verify the db for correct IND-IDE after amendment 2s

Given I login into CTRP Registry 2s

And I search for Trial with NCI ID "NCI-2017-02644" 2s

And I select to Update the Trial 0s

Then It shall take to the Update Trial page 3s

And If IND-IDE information is available 0s

Then "Expanded Access" field should be renamed to "Availability of Expanded Access" 0s

And "Expanded Access Type (if applicable)" field should be renamed to "Expanded Access Record" 0s

And "Exempt" field should be removed 6s

Given I login into CTRP Registry 1s

And I search for Trial with NCI ID "NCI-2017-02645" 2s

And I select to Update the Trial 0s

Then It shall take to the Update Trial page 2s

And If no IND-IDE information is available 6s

Then It shall not display IND-IDE table 6s

Given I login into CTRP Registry 2s

And I search for Trial with NCI ID "NCI-2017-02644" 2s

And I select to Update the Trial 1s

Then It shall take to the Update Trial page 3s

And If IND-IDE information is available 0s

Then It shall display the content of IND-IDE table correctly 1s

Given I login into CTRP Registry 2s

And I search for "Interventional" "National" Trial with NCI ID "NCI-2017-02644" 2s

And I select to Update the Trial 1s

Then It shall take to the Update Trial page 3s

And If IND-IDE information is available 0s

Then It shall display the content of IND-IDE table correctly 1s

And I click to review trial 1s

Then It shall display the content of IND-IDE table correctly on review page 2s

And I Edit the trial on update page 2s

Then It shall display the content of IND-IDE table correctly 1s

And I Review and Submit the trial on update page 4s

Then It shall display the content of IND-IDE table correctly on submit page 0s

Given I login into CTRP Registry 2s

And I search for "Interventional" "Externally Peer-Reviewed" Trial with NCI ID "NCI-2017-02646" 2s

And I select to Update the Trial 1s

Then It shall take to the Update Trial page 3s

And If IND-IDE information is available 0s

Then It shall display the content of IND-IDE table correctly 1s

And I click to review trial 1s

Then It shall display the content of IND-IDE table correctly on review page 2s

And I Edit the trial on update page 3s

Then It shall display the content of IND-IDE table correctly 1s

And I Review and Submit the trial on update page 6s

Then It shall display the content of IND-IDE table correctly on submit page 0s

Given I login into CTRP Registry 1s

And I search for "Interventional" "Institutional" Trial with NCI ID "NCI-2017-02647" 2s

And I select to Update the Trial 1s

Then It shall take to the Update Trial page 2s

And If IND-IDE information is available 0s

Then It shall display the content of IND-IDE table correctly 0s

And I click to review trial 0s

Then It shall display the content of IND-IDE table correctly on review page 2s

And I Edit the trial on update page 2s

Then It shall display the content of IND-IDE table correctly 0s

And I Review and Submit the trial on update page 5s

Then It shall display the content of IND-IDE table correctly on submit page 0s

Given I login into CTRP Registry 1s

And I search for "Non-Interventional" "National" Trial with NCI ID "NCI-2017-02648" 3s

And I select to Update the Trial 0s

Then It shall take to the Update Trial page 2s

And If IND-IDE information is available 0s

Then It shall display the content of IND-IDE table correctly 1s

And I click to review trial 0s

Then It shall display the content of IND-IDE table correctly on review page 4s

And I Edit the trial on update page 2s

Then It shall display the content of IND-IDE table correctly 1s

And I Review and Submit the trial on update page 6s

Then It shall display the content of IND-IDE table correctly on submit page 2s

Given I login into CTRP Registry 1s

And I search for "Interventional" "National" Trial with NCI ID "NCI-2017-02645" 3s

And I select to Update the Trial 1s

Then It shall take to the Update Trial page 5s

And If no IND-IDE information is available 6s

Then It shall not display IND-IDE table 6s

And I click to review trial 1s

Then It shall not display IND-IDE table on review page 1s

And I Edit the trial on update page 2s

Then It shall not display IND-IDE table 6s

And I Review and Submit the trial on update page for no IND-IDE 10s

Then It shall not display IND-IDE table on submit page 0s

Given I login into CTRP Registry 2s

And I search for "Interventional" "National" Trial with NCI ID "NCI-2017-02650" 2s

And I select to Update the Trial 0s

Then It shall take to the Update Trial page 2s

And If IND-IDE information is available 0s

Then It shall display the content of IND-IDE table correctly 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

And I click on Add Person from 0s

Then For add "Person", It should give message 9s

Given I login into CTRP Registry 1s

And I search for Trial with NCI ID "NCI-2017-00389" 2s

And I select to Amend the Trial 1s

And I click on Add Person from 0s

Then For add "Person", It should give message 10s

Given I login into CTRP Registry 1s

Then I select to import a trial with NCT ID "NCT03356652" 8s

And I click to Add Participating Site 1s

And I select "Novartis Pharmaceuticals" from the list 1s

And I click on Add Person from 0s

Then For add "Person", It should give message 6s

Given I login into CTRP Registry 15s

And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02930" 5s

And I select "Novartis Pharmaceuticals" from the list 0s

And I click on Add Person from 0s

Then For add "Person", It should give message 6s

Given I login into CTRP Registry 15s

And I click to Update Participating Site from search result for abbreviated trial "NCI-2017-02928" 5s

And I click on Add Person from 0s

Then For add "Person", It should give message 4s

Given I login into CTRP Registry 16s

And From Add Sites, I searched for trial id "NCI-2017-02867" to add site 5s

And I click on Add Person from 0s

Then For add "Person", It should give message 4s

Upon successful of batch process by uploading batch file, an email should be generated and sent.

Given Accrual App launch 1s

Given I login into the CTRP Accrual app 1s

And I search for a trial with NCI trial identifier: "NCI-2017-02679" 3s

And list of Trials table displays with following table columns 0s

And the trial type is "Interventional" and current trial status is "Complete" 0s

And select the trial to view the participating site accrual count page 1s

Then following table column should be presents in the participating site accrual count page 3s

And I navigate to Batch Upload page 1s

And I upload a TXT file with valid data that contains the accrual data for Accrual Count and Cut-Off date 6s

Then accrual batch uplaod confirmation message displays 0s

And I wait for accrual batch upload job to be complete 1s

Given I check email_log table in the database to ensure an email is sent for the trial with NCT trial identifier: "NCT00644878" 0s

And I verify the email subject content 0s

And I verify the email message body content 0s

Given I Import a trial with NCT ID "NCT02376023" 3s

And I verify the respective fields of a trial are imported successfully 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:17:in `/^I verify the respective fields of a trial are imported successfully$/'
features/import/backend/ctrp_import_ct_api_mine.feature:7:in `And I verify the respective fields of a trial are imported successfully'

Given I Import a trial with NCT ID "NCT03056261" 2s

And I verify the trial status of ctgov 'Not yet recruiting' is saved as 'In_Review' in ctrp 0s + Show Error

Ctgov xml value and provided ctgov value doesnot match (RuntimeError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:18:in `And I verify the trial status of ctgov 'Not yet recruiting' is saved as 'In_Review' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'

And I verify trial status date

Given I Import a trial with NCT ID "NCT03154437" 2s

And I verify the trial status of ctgov 'Approved for marketing' is saved as 'APPROVED_FOR_MARKETING' in ctrp 0s + Show Error

Ctgov xml value and provided ctgov value doesnot match (RuntimeError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:19:in `And I verify the trial status of ctgov 'Approved for marketing' is saved as 'APPROVED_FOR_MARKETING' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'

And I verify trial status date

Given I Import a trial with NCT ID "NCT03283410" 5s

And I verify the trial status of ctgov 'Withdrawn' is saved as 'Withdrawn' in ctrp 0s + Show Error

Ctgov xml value and provided ctgov value doesnot match (RuntimeError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:20:in `And I verify the trial status of ctgov 'Withdrawn' is saved as 'Withdrawn' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'

And I verify trial status date

Given I Import a trial with NCT ID "NCT03327467" 2s

And I verify the trial status of ctgov 'Available' is saved as 'Available' in ctrp 0s + Show Error

Ctgov xml value and provided ctgov value doesnot match (RuntimeError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:21:in `And I verify the trial status of ctgov 'Available' is saved as 'Available' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'

And I verify trial status date

Given I Import a trial with NCT ID "NCT03315130" 1s + Show Error

Verifying "Import response code. Body of response --) could not execute query"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:22:in `Given I Import a trial with NCT ID "NCT03315130"'
features/import/backend/ctrp_import_ct_api_mine.feature:13:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial status of ctgov 'Recruiting' is saved as 'Active' in ctrp

And I verify trial status date

Given I Import a trial with NCT ID "NCT03314948" 2s

And I verify the trial status of ctgov 'Enrolling by invitation' is saved as 'Enrolling_by_invitation' in ctrp 0s + Show Error

Ctgov xml value and provided ctgov value doesnot match (RuntimeError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:23:in `And I verify the trial status of ctgov 'Enrolling by invitation' is saved as 'Enrolling_by_invitation' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'

And I verify trial status date

Given I Import a trial with NCT ID "NCT03313882" 1s + Show Error

Verifying "Import response code. Body of response --) could not execute query"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:24:in `Given I Import a trial with NCT ID "NCT03313882"'
features/import/backend/ctrp_import_ct_api_mine.feature:13:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial status of ctgov 'Active, not recruiting' is saved as 'Closed_to_Accrual' in ctrp

And I verify trial status date

Given I Import a trial with NCT ID "NCT03315299" 1s + Show Error

Verifying "Import response code. Body of response --) More than one row with the given identifier was found: 2, for class: gov.nih.nci.po.data.bo.Address"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:25:in `Given I Import a trial with NCT ID "NCT03315299"'
features/import/backend/ctrp_import_ct_api_mine.feature:13:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial status of ctgov 'No longer available' is saved as 'NO_LONGER_AVAILABLE' in ctrp

And I verify trial status date

Given I Import a trial with NCT ID "NCT03314961" 2s

And I verify the trial status of ctgov 'Completed' is saved as 'COMPLETE' in ctrp 0s + Show Error

Ctgov xml value and provided ctgov value doesnot match (RuntimeError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:26:in `And I verify the trial status of ctgov 'Completed' is saved as 'COMPLETE' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'

And I verify trial status date

Given I Import a trial with NCT ID "NCT03311178" 59s + Show Error

Verifying "Import response code. Body of response --) java.io.IOException: Channel Channel ID e5dbc4b1 (outbound) of Remoting connection 05fe5087 to CTRP-POBin-IntTest-LB-Frontend-456090712.us-east-1.elb.amazonaws.com/54.210.129.169:31099 has been closed"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:27:in `Given I Import a trial with NCT ID "NCT03311178"'
features/import/backend/ctrp_import_ct_api_mine.feature:13:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial status of ctgov 'Terminated' is saved as 'Administratively_Complete' in ctrp

And I verify trial status date

Given I Import a trial with NCT ID "NCT03447470" 20s + Show Error

Verifying "Import response code. Body of response --) (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 400 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000120: The request sent by the client was syntactically incorrect.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html)"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:28:in `Given I Import a trial with NCT ID "NCT03447470"'
features/import/backend/ctrp_import_ct_api_mine.feature:13:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial status of ctgov 'Suspended' is saved as 'Temporarily_closed_to_accrual' in ctrp

And I verify trial status date

Given I Import a trial with NCT ID "NCT03317730" 30s + Show Error

Verifying "Import response code. Body of response --) (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 400 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000120: The request sent by the client was syntactically incorrect.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html)"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:37:in `Given I Import a trial with NCT ID "NCT03317730"'
features/import/backend/ctrp_import_ct_api_mine.feature:33:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial phase of ctgov 'Early Phase 1' is saved as 'O' in ctrp

Given I Import a trial with NCT ID "NCT03321617" 35s + Show Error

Verifying "Import response code. Body of response --) (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 400 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000120: The request sent by the client was syntactically incorrect.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html)"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:38:in `Given I Import a trial with NCT ID "NCT03321617"'
features/import/backend/ctrp_import_ct_api_mine.feature:33:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial phase of ctgov 'Phase 1' is saved as 'I' in ctrp

Given I Import a trial with NCT ID "NCT03321630" 55s + Show Error

Verifying "Import response code. Body of response --) (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 400 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000120: The request sent by the client was syntactically incorrect.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html)"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:39:in `Given I Import a trial with NCT ID "NCT03321630"'
features/import/backend/ctrp_import_ct_api_mine.feature:33:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial phase of ctgov 'Phase 2' is saved as 'II' in ctrp

Given I Import a trial with NCT ID "NCT02932826" 1m 0s + Show Error

undefined method `code' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:40:in `Given I Import a trial with NCT ID "NCT02932826"'
features/import/backend/ctrp_import_ct_api_mine.feature:33:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial phase of ctgov 'Phase 1/Phase 2' is saved as 'I_II' in ctrp

Given I Import a trial with NCT ID "NCT03019185" 19s + Show Error

Verifying "Import response code. Body of response --) (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 400 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000120: The request sent by the client was syntactically incorrect.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html)"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:41:in `Given I Import a trial with NCT ID "NCT03019185"'
features/import/backend/ctrp_import_ct_api_mine.feature:33:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial phase of ctgov 'Phase 2/Phase 3' is saved as 'II_III' in ctrp

Given I Import a trial with NCT ID "NCT03319849" 1m 0s + Show Error

undefined method `code' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:42:in `Given I Import a trial with NCT ID "NCT03319849"'
features/import/backend/ctrp_import_ct_api_mine.feature:33:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial phase of ctgov 'Phase 3' is saved as 'III' in ctrp

Given I Import a trial with NCT ID "NCT03321032" 1m 1s + Show Error

undefined method `code' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:43:in `Given I Import a trial with NCT ID "NCT03321032"'
features/import/backend/ctrp_import_ct_api_mine.feature:33:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial phase of ctgov 'Phase 4' is saved as 'IV' in ctrp

Given I Import a trial with NCT ID "NCT03321604" 1m 0s + Show Error

undefined method `code' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:44:in `Given I Import a trial with NCT ID "NCT03321604"'
features/import/backend/ctrp_import_ct_api_mine.feature:33:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the trial phase of ctgov 'N/A' is saved as 'NA' in ctrp

Given I Import a trial with NCT ID "NCT03321630" 57s + Show Error

Verifying "Import response code. Body of response --) java.io.IOException: Channel Channel ID c53ac851 (outbound) of Remoting connection 04bfef4f to CTRP-POBin-IntTest-LB-Frontend-456090712.us-east-1.elb.amazonaws.com/34.199.167.139:31099 has been closed"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:53:in `Given I Import a trial with NCT ID "NCT03321630"'
features/import/backend/ctrp_import_ct_api_mine.feature:49:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the study type of ctgov 'Interventional' is saved as 'InterventionalStudyProtocol' in ctrp

Given I Import a trial with NCT ID "NCT03329274" 1m 0s + Show Error

undefined method `code' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/backend/ctrp_import_ct_api_mine.feature:54:in `Given I Import a trial with NCT ID "NCT03329274"'
features/import/backend/ctrp_import_ct_api_mine.feature:49:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify the study type of ctgov 'Observational [Patient Registry]' is saved as 'NonInterventionalStudyProtocol' in ctrp

Given I Import a trial with NCT ID "NCT03321591" 24s

And I verify the study type of ctgov 'Observational' is saved as 'NonInterventionalStudyProtocol' in ctrp 0s + Show Error

Ctgov xml value and provided ctgov value doesnot match (RuntimeError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:229:in `/^I verify the study type of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:55:in `And I verify the study type of ctgov 'Observational' is saved as 'NonInterventionalStudyProtocol' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:50:in `And I verify the study type of ctgov '(ctgov_study_type)' is saved as '(ctrp_study_type)' in ctrp'

Given I Import a trial with NCT ID "NCT03317366" 38s

And I verify the study type of ctgov 'Expanded Access' is saved as 'InterventionalStudyProtocol' in ctrp 0s + Show Error

Ctgov xml value and provided ctgov value doesnot match (RuntimeError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:229:in `/^I verify the study type of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:56:in `And I verify the study type of ctgov 'Expanded Access' is saved as 'InterventionalStudyProtocol' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:50:in `And I verify the study type of ctgov '(ctgov_study_type)' is saved as '(ctrp_study_type)' in ctrp'

Given I Import a trial with NCT ID "NCT03275376" 3s

And I verify the study allocation of ctgov 'Randomized' is saved as 'RANDOMIZED_CONTROLLED_TRIAL' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:234:in `/^I verify the study allocation of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:65:in `And I verify the study allocation of ctgov 'Randomized' is saved as 'RANDOMIZED_CONTROLLED_TRIAL' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:62:in `And I verify the study allocation of ctgov '(ctgov_study_allocation)' is saved as '(ctrp_study_allocation)' in ctrp'

Given I Import a trial with NCT ID "NCT02946268" 2s

And I verify the study allocation of ctgov 'Non-Randomized' is saved as 'NON_RANDOMIZED_TRIAL' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:234:in `/^I verify the study allocation of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:66:in `And I verify the study allocation of ctgov 'Non-Randomized' is saved as 'NON_RANDOMIZED_TRIAL' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:62:in `And I verify the study allocation of ctgov '(ctgov_study_allocation)' is saved as '(ctrp_study_allocation)' in ctrp'

Given I Import a trial with NCT ID "NCT03321552" 2s

And I verify interventional study model of ctgov 'Single Group Assignment' is saved as 'SINGLE_GROUP' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:245:in `/^I verify interventional study model of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:75:in `And I verify interventional study model of ctgov 'Single Group Assignment' is saved as 'SINGLE_GROUP' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:72:in `And I verify interventional study model of ctgov '(ctgov_Interventional_Model)' is saved as '(ctrp_Interventional_Model)' in ctrp'

Given I Import a trial with NCT ID "NCT02653716" 4s

And I verify interventional study model of ctgov 'Parallel Assignment' is saved as 'PARALLEL' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:245:in `/^I verify interventional study model of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:76:in `And I verify interventional study model of ctgov 'Parallel Assignment' is saved as 'PARALLEL' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:72:in `And I verify interventional study model of ctgov '(ctgov_Interventional_Model)' is saved as '(ctrp_Interventional_Model)' in ctrp'

Given I Import a trial with NCT ID "NCT02905422" 2s

And I verify interventional study model of ctgov 'Crossover Assignment' is saved as 'CROSSOVER' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:245:in `/^I verify interventional study model of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:77:in `And I verify interventional study model of ctgov 'Crossover Assignment' is saved as 'CROSSOVER' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:72:in `And I verify interventional study model of ctgov '(ctgov_Interventional_Model)' is saved as '(ctrp_Interventional_Model)' in ctrp'

Given I Import a trial with NCT ID "NCT02419144" 2s

And I verify interventional study model of ctgov 'Factorial Assignment' is saved as 'FACTORIAL' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:245:in `/^I verify interventional study model of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:78:in `And I verify interventional study model of ctgov 'Factorial Assignment' is saved as 'FACTORIAL' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:72:in `And I verify interventional study model of ctgov '(ctgov_Interventional_Model)' is saved as '(ctrp_Interventional_Model)' in ctrp'

Given I Import a trial with NCT ID "NCT03147300" 3s

And I verify interventional study model of ctgov 'Sequential Assignment' is saved as 'SEQUENTIAL_ASSIGNMENT' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:245:in `/^I verify interventional study model of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:79:in `And I verify interventional study model of ctgov 'Sequential Assignment' is saved as 'SEQUENTIAL_ASSIGNMENT' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:72:in `And I verify interventional study model of ctgov '(ctgov_Interventional_Model)' is saved as '(ctrp_Interventional_Model)' in ctrp'

Given I Import a trial with NCT ID "NCT02804386" 2s

And I verify masking field of ctgov 'None (Open Label)' is saved as 'true' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:256:in `/^I verify masking field of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:88:in `And I verify masking field of ctgov 'None (Open Label)' is saved as 'true' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:85:in `And I verify masking field of ctgov '(ctgov_masking)' is saved as '(ctrp_masking)' in ctrp'

Given I Import a trial with NCT ID "NCT02014142" 3s

And I verify masking field of ctgov 'Single (Outcomes Assessor)' is saved as 'OUTCOMES_ASSESSOR' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:256:in `/^I verify masking field of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:89:in `And I verify masking field of ctgov 'Single (Outcomes Assessor)' is saved as 'OUTCOMES_ASSESSOR' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:85:in `And I verify masking field of ctgov '(ctgov_masking)' is saved as '(ctrp_masking)' in ctrp'

Given I Import a trial with NCT ID "NCT02893358" 2s

And I verify masking field of ctgov 'Double (Participant, Investigator)' is saved as 'SUBJECT,INVESTIGATOR' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:256:in `/^I verify masking field of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:90:in `And I verify masking field of ctgov 'Double (Participant, Investigator)' is saved as 'SUBJECT,INVESTIGATOR' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:85:in `And I verify masking field of ctgov '(ctgov_masking)' is saved as '(ctrp_masking)' in ctrp'

Given I Import a trial with NCT ID "NCT11111110" 2s

And I verify masking field of ctgov 'Single-Blind (Participant)' is saved as 'SUBJECT' in ctrp 1s

Given I Import a trial with NCT ID "NCT11111101" 2s

And I verify masking field of ctgov 'Double-Blind (Care Provider, Outcomes Assessor)' is saved as 'CAREGIVER,OUTCOMES_ASSESSOR' in ctrp 1s

Given I Import a trial with NCT ID "NCT11111100" 2s

And I verify masking field of ctgov 'Single Blind (Investigator)' is saved as 'INVESTIGATOR' in ctrp 1s

Given I Import a trial with NCT ID "NCT11111011" 2s

And I verify masking field of ctgov 'Double Blind (Investigator, Care Provider)' is saved as 'INVESTIGATOR,CAREGIVER' in ctrp 1s

Given I Import a trial with NCT ID "NCT00140049" 2s

And I verify masking field of ctgov 'Single' is saved as 'SUBJECT' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:256:in `/^I verify masking field of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:97:in `And I verify masking field of ctgov 'Single' is saved as 'SUBJECT' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:85:in `And I verify masking field of ctgov '(ctgov_masking)' is saved as '(ctrp_masking)' in ctrp'

Given I Import a trial with NCT ID "NCT00350467" 2s

And I verify masking field of ctgov 'Double' is saved as 'SUBJECT,INVESTIGATOR' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:256:in `/^I verify masking field of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:98:in `And I verify masking field of ctgov 'Double' is saved as 'SUBJECT,INVESTIGATOR' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:85:in `And I verify masking field of ctgov '(ctgov_masking)' is saved as '(ctrp_masking)' in ctrp'

Given I Import a trial with NCT ID "NCT11111010" 2s

And I verify masking field of ctgov 'Single-Blind' is saved as 'SUBJECT' in ctrp 1s

Given I Import a trial with NCT ID "NCT11111001" 2s

And I verify masking field of ctgov 'Double-Blind' is saved as 'SUBJECT,INVESTIGATOR' in ctrp 1s

Given I Import a trial with NCT ID "NCT11111000" 5s

And I verify masking field of ctgov 'Single Blind' is saved as 'SUBJECT' in ctrp 1s

Given I Import a trial with NCT ID "NCT11110111" 2s

And I verify masking field of ctgov 'Double Blind' is saved as 'SUBJECT,INVESTIGATOR' in ctrp 1s

Given I Import a trial with NCT ID "NCT02701738" 2s

And I verify Primary Purpose of ctgov 'Basic Science' is saved as 'BASIC_SCIENCE' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:111:in `And I verify Primary Purpose of ctgov 'Basic Science' is saved as 'BASIC_SCIENCE' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'

Given I Import a trial with NCT ID "NCT03134261" 2s

And I verify Primary Purpose of ctgov 'Diagnostic' is saved as 'DIAGNOSTIC' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:112:in `And I verify Primary Purpose of ctgov 'Diagnostic' is saved as 'DIAGNOSTIC' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'

Given I Import a trial with NCT ID "NCT03094741" 2s

And I verify Primary Purpose of ctgov 'Health Services Research' is saved as 'HEALTH_SERVICES_RESEARCH' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:113:in `And I verify Primary Purpose of ctgov 'Health Services Research' is saved as 'HEALTH_SERVICES_RESEARCH' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'

Given I Import a trial with NCT ID "NCT02996435" 3s

And I verify Primary Purpose of ctgov 'Other' is saved as 'OTHER' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:114:in `And I verify Primary Purpose of ctgov 'Other' is saved as 'OTHER' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'

Given I Import a trial with NCT ID "NCT02442739" 3s

And I verify Primary Purpose of ctgov 'Prevention' is saved as 'PREVENTION' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:115:in `And I verify Primary Purpose of ctgov 'Prevention' is saved as 'PREVENTION' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'

Given I Import a trial with NCT ID "NCT02790125" 2s

And I verify Primary Purpose of ctgov 'Screening' is saved as 'SCREENING' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:116:in `And I verify Primary Purpose of ctgov 'Screening' is saved as 'SCREENING' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'

Given I Import a trial with NCT ID "NCT02727985" 3s

And I verify Primary Purpose of ctgov 'Supportive Care' is saved as 'SUPPORTIVE_CARE' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:117:in `And I verify Primary Purpose of ctgov 'Supportive Care' is saved as 'SUPPORTIVE_CARE' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'

Given I Import a trial with NCT ID "NCT02554812" 4s

And I verify Primary Purpose of ctgov 'Treatment' is saved as 'TREATMENT' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:118:in `And I verify Primary Purpose of ctgov 'Treatment' is saved as 'TREATMENT' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'

Given I Import a trial with NCT ID "NCT03403413" 2s

And I verify Primary Purpose of ctgov 'Device Feasibility' is saved as 'DEVICE' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:119:in `And I verify Primary Purpose of ctgov 'Device Feasibility' is saved as 'DEVICE' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'

Given I Import a trial with NCT ID "NCT02714426" 2s

And I verify the arm of ctgov 'Active Comparator' is saved as 'ACTIVE_COMPARATOR' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:368:in `/^I verify the arm of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:139:in `And I verify the arm of ctgov 'Active Comparator' is saved as 'ACTIVE_COMPARATOR' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:136:in `And I verify the arm of ctgov '(ctgov_arm)' is saved as '(ctrp_arm)' in ctrp'

Given I Import a trial with NCT ID "NCT01848860" 3s

And I verify the arm of ctgov 'Sham Comparator' is saved as 'SHAM_COMPARATOR' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:368:in `/^I verify the arm of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:140:in `And I verify the arm of ctgov 'Sham Comparator' is saved as 'SHAM_COMPARATOR' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:136:in `And I verify the arm of ctgov '(ctgov_arm)' is saved as '(ctrp_arm)' in ctrp'

Given I Import a trial with NCT ID "NCT00970619" 2s

And I verify the arm of ctgov 'No Intervention' is saved as 'NO_INTERVENTION' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:368:in `/^I verify the arm of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:141:in `And I verify the arm of ctgov 'No Intervention' is saved as 'NO_INTERVENTION' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:136:in `And I verify the arm of ctgov '(ctgov_arm)' is saved as '(ctrp_arm)' in ctrp'

Given I Import a trial with NCT ID "NCT02930018" 3s

And I verify the arm of ctgov 'Placebo Comparator' is saved as 'PLACEBO_COMPARATOR' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:368:in `/^I verify the arm of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:142:in `And I verify the arm of ctgov 'Placebo Comparator' is saved as 'PLACEBO_COMPARATOR' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:136:in `And I verify the arm of ctgov '(ctgov_arm)' is saved as '(ctrp_arm)' in ctrp'

Given I Import a trial with NCT ID "NCT03310996" 2s

And I verify the arm of ctgov 'Experimental' is saved as 'EXPERIMENTAL' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:368:in `/^I verify the arm of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:143:in `And I verify the arm of ctgov 'Experimental' is saved as 'EXPERIMENTAL' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:136:in `And I verify the arm of ctgov '(ctgov_arm)' is saved as '(ctrp_arm)' in ctrp'

Given I Import a trial with NCT ID "NCT02857400" 2s

And I verify the arm of ctgov 'Other' is saved as 'OTHER' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:368:in `/^I verify the arm of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:144:in `And I verify the arm of ctgov 'Other' is saved as 'OTHER' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:136:in `And I verify the arm of ctgov '(ctgov_arm)' is saved as '(ctrp_arm)' in ctrp'

Given I Import a trial with NCT ID "NCT03324555" 2s

And I verify the gender field of ctgov 'All' is saved as 'BOTH' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:383:in `/^I verify the gender field of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:153:in `And I verify the gender field of ctgov 'All' is saved as 'BOTH' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:150:in `And I verify the gender field of ctgov '(ctgov_gender)' is saved as '(ctrp_sex)' in ctrp'

Given I Import a trial with NCT ID "NCT03324204" 2s

And I verify the gender field of ctgov 'Female' is saved as 'FEMALE' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:383:in `/^I verify the gender field of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:154:in `And I verify the gender field of ctgov 'Female' is saved as 'FEMALE' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:150:in `And I verify the gender field of ctgov '(ctgov_gender)' is saved as '(ctrp_sex)' in ctrp'

Given I Import a trial with NCT ID "NCT03323801" 2s

And I verify the gender field of ctgov 'Male' is saved as 'MALE' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:383:in `/^I verify the gender field of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:155:in `And I verify the gender field of ctgov 'Male' is saved as 'MALE' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:150:in `And I verify the gender field of ctgov '(ctgov_gender)' is saved as '(ctrp_sex)' in ctrp'

Given I Import a trial with NCT ID "NCT01599559" 3s

And I verify the age field of ctgov 'N/A' is saved as '999 Years' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:394:in `/^I verify the age field of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:163:in `And I verify the age field of ctgov 'N/A' is saved as '999 Years' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:160:in `And I verify the age field of ctgov '(ctgov_age)' is saved as '(ctrp_age)' in ctrp'

Given I Import a trial with NCT ID "NCT01715909" 3s

And I verify the age field of ctgov 'N/A' is saved as '0 Years' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:394:in `/^I verify the age field of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:164:in `And I verify the age field of ctgov 'N/A' is saved as '0 Years' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:160:in `And I verify the age field of ctgov '(ctgov_age)' is saved as '(ctrp_age)' in ctrp'

Given I Import a trial with NCT ID "NCT12121212" 2s

And I verify the age units field of ctgov 'Years' is saved as 'Years' in ctrp 1s

Given I Import a trial with NCT ID "NCT21212121" 2s

And I verify the age units field of ctgov 'Year' is saved as 'Years' in ctrp 0s

Given I Import a trial with NCT ID "NCT13131313" 2s

And I verify the age units field of ctgov 'Month' is saved as 'Months' in ctrp 1s

Given I Import a trial with NCT ID "NCT31313131" 3s

And I verify the age units field of ctgov 'Months' is saved as 'Months' in ctrp 1s

Given I Import a trial with NCT ID "NCT14141414" 2s

And I verify the age units field of ctgov 'Week' is saved as 'Weeks' in ctrp 0s

Given I Import a trial with NCT ID "NCT41414141" 2s

And I verify the age units field of ctgov 'Weeks' is saved as 'Weeks' in ctrp 1s

Given I Import a trial with NCT ID "NCT15151515" 2s

And I verify the age units field of ctgov 'Day' is saved as 'Days' in ctrp 0s

Given I Import a trial with NCT ID "NCT51515151" 2s

And I verify the age units field of ctgov 'Days' is saved as 'Days' in ctrp 1s

Given I Import a trial with NCT ID "NCT16161616" 2s

And I verify the age units field of ctgov 'Hour' is saved as 'Hours' in ctrp 1s

Given I Import a trial with NCT ID "NCT61616161" 2s

And I verify the age units field of ctgov 'Hours' is saved as 'Hours' in ctrp 1s

Given I Import a trial with NCT ID "NCT17171717" 2s

And I verify the age units field of ctgov 'Minute' is saved as 'Minutes' in ctrp 0s

Given I Import a trial with NCT ID "NCT71717171" 2s

And I verify the age units field of ctgov 'Minutes' is saved as 'Minutes' in ctrp 1s

Given I Import a trial with NCT ID "NCT03325933" 3s

And I verify Accepts Healthy Volunteers? field is saved in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:436:in `/^I verify Accepts Healthy Volunteers\? field is saved in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:188:in `And I verify Accepts Healthy Volunteers? field is saved in ctrp'

Given I Import a trial with NCT ID "NCT03308097" 2s

And I verify Gender based/Description fields of ctgov 'Yes' is saved as 'true' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:446:in `/^I verify Gender based\/Description fields of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:196:in `And I verify Gender based/Description fields of ctgov 'Yes' is saved as 'true' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:193:in `And I verify Gender based/Description fields of ctgov '(ctgov_gender_based)' is saved as '(ctrp_gender_based)' in ctrp'

Given I Import a trial with NCT ID "NCT03265314" 3s

And I verify Gender based/Description fields of ctgov 'Yes' is saved as 'true' in ctrp 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:446:in `/^I verify Gender based\/Description fields of ctgov '(.*)' is saved as '(.*)' in ctrp$/'
features/import/backend/ctrp_import_ct_api_mine.feature:197:in `And I verify Gender based/Description fields of ctgov 'Yes' is saved as 'true' in ctrp'
features/import/backend/ctrp_import_ct_api_mine.feature:193:in `And I verify Gender based/Description fields of ctgov '(ctgov_gender_based)' is saved as '(ctrp_gender_based)' in ctrp'

Given I Import a trial with NCT ID "NCT91919191" 2s

And I verify each regulatory information fields of ctgov are saved as 'false' in ctrp 0s

Given I Import a trial with NCT ID "NCT19191919" 2s

And I verify each regulatory information fields of ctgov are saved as 'true' in ctrp 0s

Given I Import a trial with NCT ID "NCT18181818" 2s

And I verify study observational model,date types actual and anticipated are saved in ctrp 1s

Given I Import a trial with NCT ID "NCT81818181" 2s

And I verify study observational model,date types actual and anticipated are saved in ctrp 1s

Given I ReImport a trial with NCT ID "NCT02376023" 1s

Then the response code should be '409' 0s

And I verify the response body is 'Creation of study protocol with NCT ID: NCT02376023 failed as it already exists in CTRP.' 0s

Given I Import a trial with NCT ID "NCT03163225" 2s

Then I verify category code is populated as 'ELIGIBILITY_CRITERION' in db 1s

Given I update a trial with NCT ID "NCT03163199" 2s

Then I verify category code is populated as 'ELIGIBILITY_CRITERION' in db 1s

Given I Import a trial with NCT ID "NCT01010101" 2s

Then I verify new org is created 0s

This feature scenarios validates the ctrp import UI module in PA.
A clinical trial can be imported by using PA import ui interface from clinicaltrial.gov to ctrp.

Given I am logged in to PA 30s

And I want to Import the trial with NCT ID "NCT03093480" in PA 5s

Then the import should be "Message. Trial NCT03093480 has been imported and registered in CTRP system successfully." in PA 0s

Given I am logged in to Registry 8s

And I want to Import the trial with NCT ID "NCT03093480" in Registry 9s

Then the import should be "Message: Trial NCT03093480 has been imported and registered in CTRP system successfully." in Registry 0s

Given I am logged in to PA 32s

And I want to make an update to the Imported trial with NCT ID "NCT03093480" 6s

Then I verify the update of an import message 1s

Given I am logged in to PA 4s

And I want to Import the trial with NCT ID "NCT03269123" in PA 7s

Then I should be able to View the log of Imported Trial 3s

Given I am logged in to PA 4s

And I want to Import the trial with NCT ID "NCT03093480" in PA 5s

Then the import should be "Message. Trial NCT03093480 has been imported and registered in CTRP system successfully." in PA 0s

And I should be able to search with the NCT ID "NCT03093480" 6s

And I should be able to select the Trial using NCT ID "NCT03093480" 26s

And below field headers should match 0s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_UI.rb:172:in `/^below field headers should match$/'
features/import/ui/ctrp_import_ct_api_UI.feature:38:in `And below field headers should match'

Given I am logged in to PA 5s

And I want to Import the trial with NCT ID "NCT03103750" in PA 6s

Then the import should be "Message. Trial NCT03103750 has been imported and registered in CTRP system successfully." in PA 0s

And I should be able to search with the NCT ID "NCT03103750" 6s

And I should be able to select the Trial using NCT ID "NCT03103750" 28s

And In the Trial Identification below fields should match 5s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_UI.rb:232:in `/^In the Trial Identification below fields should match$/'
features/import/ui/ctrp_import_ct_api_UI.feature:57:in `And In the Trial Identification below fields should match'

Given I am logged in to PA 4s

And I want to Import the trial with NCT ID "NCT03103750" in PA 6s

Then the import should be "Message. Trial NCT03103750 has been imported and registered in CTRP system successfully." in PA 0s

And I should be able to search with the NCT ID "NCT03103750" 6s

And I navigate to Trial Validation page using NCT ID "NCT03103750" 13s

And In the Trial Validation below fields should match 1s + Show Error

undefined method `[]' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_UI.rb:271:in `/^In the Trial Validation below fields should match$/'
features/import/ui/ctrp_import_ct_api_UI.feature:75:in `And In the Trial Validation below fields should match'

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s

When I go to "Design Details" section in PA app 6s

Then new fields with Interventional study Model and Primary Purpose should be there 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s

When I go to "Design Details" section in PA app 5s

Then I verify new field "Model Description" should be there 0s

Then I verify new field "Masking Description" should be there 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 4s

When I go to "Design Details" section in PA app 3s

Then these existing fields should be updated 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 2s

When I go to "Design Details" section in PA app 2s

Then these existing fields should be updated 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 4s

When I go to "Design Details" section in PA app 2s

Then these existing fields should be removed 18s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 4s

When I go to "Design Details" section in PA app 3s

Then these existing fields should be updated 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 5s

When I go to "Design Details" section in PA app 2s

Then the conditional fields should be 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 4s

When I go to "Design Details" section in PA app 5s

Then Interventional Study Model is a required field 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 5s

When I go to "Design Details" section in PA app 5s

Then I verify validations for primary purpose "", trial phase "Early Phase I", Interventional Study Model "Single Group", Number of Arms "1", masking "noMasking", allocation "NA", target enrollment "1", error message "Primary Purpose must be Entered" 4s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s

When I go to "Design Details" section in PA app 6s

Then I verify validations for primary purpose "Treatment", trial phase "", Interventional Study Model "Single Group", Number of Arms "1", masking "noMasking", allocation "NA", target enrollment "1", error message "Trial Phase must be Entered" 4s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 5s

When I go to "Design Details" section in PA app 3s

Then I verify validations for primary purpose "Treatment", trial phase "Early Phase I", Interventional Study Model "", Number of Arms "1", masking "noMasking", allocation "NA", target enrollment "1", error message "Intervention Model must be Entered" 3s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s

When I go to "Design Details" section in PA app 5s

Then I verify validations for primary purpose "Treatment", trial phase "Early Phase I", Interventional Study Model "Single Group", Number of Arms "", masking "noMasking", allocation "NA", target enrollment "1", error message "Number of Arms must be Entered" 4s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 5s

When I go to "Design Details" section in PA app 5s

Then I verify validations for primary purpose "Treatment", trial phase "Early Phase I", Interventional Study Model "Single Group", Number of Arms "1", masking "", allocation "NA", target enrollment "1", error message "Masking must be Entered" 2s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 5s

When I go to "Design Details" section in PA app 5s

Then I verify validations for primary purpose "Treatment", trial phase "Early Phase I", Interventional Study Model "Single Group", Number of Arms "1", masking "noMasking", allocation "", target enrollment "1", error message "Allocation must be Entered" 4s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s

When I go to "Design Details" section in PA app 5s

Then I verify validations for primary purpose "Treatment", trial phase "Early Phase I", Interventional Study Model "Single Group", Number of Arms "1", masking "noMasking", allocation "NA", target enrollment "", error message "Target Enrollment must be Entered" 3s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 5s

When I go to "Design Details" section in PA app 2s

And I enter all details except mandatory fields in Design Details page 4s

Then I verify below error messages are displayed in Design Details page for mandatory fields 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02798" 7s

When I go to "Design Details" section in PA app 2s

Then I enter each trial phase from the below list and verify 'Is this a Pilot?' field has default value as '--Select--' 3s

Given I run the rest service to generate new NCI ID 3s

When I login into CTRP and search for a trial with generated NCI ID 4s

Then I click on "Trial Validation" link 5s

Then I enter each trial phase from below list on and verify 'Is this a Pilot?' has default value as '--Select--' in trial validation page 4s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 5s

Then I click on "Trial Validation" link 4s

Then I enter trial phase as "III" on trial validation page 1s

And I enter 'Is this a Pilot?' field value as "Yes" on trial validation page 1s

Then I click on save button in trial validation page 2s

And I connect to the database and verify the pilot value is updated 1s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 4s

Then I click on "Trial Validation" link 4s

Then I enter trial phase as "III" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "No" on trial validation page 1s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 0s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 3s

Then I click on "Trial Validation" link 5s

Then I enter trial phase as "III" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "--Select--" on trial validation page 0s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 5s

Then I click on "Trial Validation" link 5s

Then I enter trial phase as "NA" on trial validation page 1s

And I enter 'Is this a Pilot?' field value as "Yes" on trial validation page 0s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 0s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 5s

Then I click on "Trial Validation" link 6s

Then I enter trial phase as "NA" on trial validation page 1s

And I enter 'Is this a Pilot?' field value as "No" on trial validation page 1s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 5s

Then I click on "Trial Validation" link 6s

Then I enter trial phase as "NA" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "--Select--" on trial validation page 0s

Then I click on save button in trial validation page 4s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02797" 6s

When I go to "Design Details" section in PA app 5s

Then I enter each trial phase from the below list and verify 'Is this a Pilot?' field has default value as '--Select--' 7s

Given I run the rest service to generate new non-interventional NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 5s

Then I click on "Trial Validation" link 5s

Then I enter each trial phase from below list on and verify 'Is this a Pilot?' has default value as '--Select--' in trial validation page 8s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02626" 5s

When I go to "Design Details" section in PA app 5s

Then I enter trial phase as "IV" 1s

And I enter 'Is this a Pilot?' field value as "Yes" 0s

Then I click on save button in design details page 2s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02626" 6s

When I go to "Design Details" section in PA app 5s

Then I enter trial phase as "IV" 0s

And I enter 'Is this a Pilot?' field value as "No" 1s

Then I click on save button in design details page 2s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02626" 5s

When I go to "Design Details" section in PA app 5s

Then I enter trial phase as "IV" 0s

And I enter 'Is this a Pilot?' field value as "--Select--" 1s

Then I click on save button in design details page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02626" 6s

When I go to "Design Details" section in PA app 5s

Then I enter trial phase as "NA" 0s

And I enter 'Is this a Pilot?' field value as "Yes" 0s

Then I click on save button in design details page 1s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02626" 6s

When I go to "Design Details" section in PA app 5s

Then I enter trial phase as "NA" 0s

And I enter 'Is this a Pilot?' field value as "No" 1s

Then I click on save button in design details page 1s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02626" 6s

When I go to "Design Details" section in PA app 5s

Then I enter trial phase as "NA" 0s

And I enter 'Is this a Pilot?' field value as "--Select--" 1s

Then I click on save button in design details page 2s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02811" 7s

When I go to "Design Details" section in PA app 4s

Then I enter each trial phase from the below list and verify 'Is this a Pilot?' field has default value as '--Select--' 7s

When I login into CTRP and search for a trial with NCI ID "NCI-2017-02813" 6s

Then I click on "Trial Validation" link 6s

Then I enter each trial phase from below list on and verify 'Is this a Pilot?' has default value as '--Select--' in trial validation page 7s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02814" 5s

When I go to "Design Details" section in PA app 6s

Then I enter trial phase as "I/II" 1s

And I enter 'Is this a Pilot?' field value as "Yes" 0s

Then I click on save button in design details page 2s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02814" 6s

When I go to "Design Details" section in PA app 5s

Then I enter trial phase as "I/II" 0s

And I enter 'Is this a Pilot?' field value as "No" 1s

Then I click on save button in design details page 2s

And I connect to the database and verify the pilot value is updated 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02814" 7s

When I go to "Design Details" section in PA app 3s

Then I enter trial phase as "I/II" 0s

And I enter 'Is this a Pilot?' field value as "--Select--" 0s

Then I click on save button in design details page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02814" 5s

When I go to "Design Details" section in PA app 5s

Then I enter trial phase as "NA" 0s

And I enter 'Is this a Pilot?' field value as "Yes" 1s

Then I click on save button in design details page 2s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02814" 7s

When I go to "Design Details" section in PA app 4s

Then I enter trial phase as "NA" 0s

And I enter 'Is this a Pilot?' field value as "No" 1s

Then I click on save button in design details page 2s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02814" 5s

When I go to "Design Details" section in PA app 3s

Then I enter trial phase as "NA" 0s

And I enter 'Is this a Pilot?' field value as "--Select--" 1s

Then I click on save button in design details page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02816" 5s

Then I click on "Trial Validation" link 6s

Then I enter trial phase as "III" on trial validation page 1s

And I enter 'Is this a Pilot?' field value as "Yes" on trial validation page 1s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02816" 4s

Then I click on "Trial Validation" link 4s

Then I enter trial phase as "III" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "No" on trial validation page 0s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02816" 6s

Then I click on "Trial Validation" link 5s

Then I enter trial phase as "III" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "--Select--" on trial validation page 1s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02816" 6s

Then I click on "Trial Validation" link 4s

Then I enter trial phase as "NA" on trial validation page 1s

And I enter 'Is this a Pilot?' field value as "Yes" on trial validation page 1s

Then I click on save button in trial validation page 4s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02816" 5s

Then I click on "Trial Validation" link 7s

Then I enter trial phase as "NA" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "No" on trial validation page 1s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02816" 6s

Then I click on "Trial Validation" link 6s

Then I enter trial phase as "NA" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "--Select--" on trial validation page 2s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02817" 6s

When I go to "Design Details" section in PA app 5s

Then I enter each trial phase from the below list and verify 'Is this a Pilot?' field has default value as '--Select--' 8s

When I login into CTRP and search for a trial with NCI ID "NCI-2017-02819" 6s

Then I click on "Trial Validation" link 6s

Then I enter each trial phase from below list on and verify 'Is this a Pilot?' has default value as '--Select--' in trial validation page 6s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02818" 6s

When I go to "Design Details" section in PA app 4s

Then I enter trial phase as "II" 1s

And I enter 'Is this a Pilot?' field value as "Yes" 1s

Then I click on save button in design details page 0s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02818" 5s

When I go to "Design Details" section in PA app 5s

Then I enter trial phase as "II" 1s

And I enter 'Is this a Pilot?' field value as "No" 1s

Then I click on save button in design details page 0s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02818" 5s

When I go to "Design Details" section in PA app 6s

Then I enter trial phase as "II" 1s

And I enter 'Is this a Pilot?' field value as "--Select--" 0s

Then I click on save button in design details page 0s

And I connect to the database and verify the pilot value is updated 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02818" 5s

When I go to "Design Details" section in PA app 4s

Then I enter trial phase as "NA" 0s

And I enter 'Is this a Pilot?' field value as "Yes" 0s

Then I click on save button in design details page 0s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02818" 5s

When I go to "Design Details" section in PA app 4s

Then I enter trial phase as "NA" 0s

And I enter 'Is this a Pilot?' field value as "No" 0s

Then I click on save button in design details page 0s

And I connect to the database and verify the pilot value is updated 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02818" 4s

When I go to "Design Details" section in PA app 4s

Then I enter trial phase as "NA" 1s

And I enter 'Is this a Pilot?' field value as "--Select--" 0s

Then I click on save button in design details page 0s

And I connect to the database and verify the pilot value is updated 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02820" 5s

Then I click on "Trial Validation" link 1s

Then I enter trial phase as "I" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "Yes" on trial validation page 0s

Then I click on save button in trial validation page 2s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02820" 6s

Then I click on "Trial Validation" link 3s

Then I enter trial phase as "I" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "No" on trial validation page 1s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02820" 6s

Then I click on "Trial Validation" link 4s

Then I enter trial phase as "I" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "--Select--" on trial validation page 1s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02820" 6s

Then I click on "Trial Validation" link 5s

Then I enter trial phase as "NA" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "Yes" on trial validation page 0s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02820" 4s

Then I click on "Trial Validation" link 6s

Then I enter trial phase as "NA" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "No" on trial validation page 1s

Then I click on save button in trial validation page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02820" 5s

Then I click on "Trial Validation" link 4s

Then I enter trial phase as "NA" on trial validation page 0s

And I enter 'Is this a Pilot?' field value as "--Select--" on trial validation page 1s

Then I click on save button in trial validation page 5s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02762" 5s

Then I click on "Sub-groups" link 5s

And I click on add 2s

Then I enter code and description and click save 4s

And I connect to database and verify subgroup information is saved successfully 0s

Given I Update a complete (Non-Interventional) trial in CTRP using RESTful service for "NCI-2017-02621" 1s

Then I verify the response status of rest service is '200' 0s

And I verify record is updated in database 0s

Given I Create a complete (Non-Interventional) trial(with expandedAccess yes) in CTRP using RESTful service with FDAAA fields 2s

Then I verify the response status of rest service is '200' with FDAAA fields 0s

And the rest service should generate an NCI ID 0s

Then I verify the new field expandedAccess is updated as yes in DynamoDB for the generated NCI ID 0s

Given I Create a complete (Non-Interventional) trial(with expandedAccess no) in CTRP using RESTful service with FDAAA fields 2s

Then I verify the response status of rest service is '200' with FDAAA fields 0s

And the rest service should generate an NCI ID 0s

And I verify the new field expandedAccess is updated as no in DynamoDB for the generated NCI ID 0s

Given I Create a complete (Non-Interventional) trial(with expandedAccess unknown) in CTRP using RESTful service with FDAAA fields 2s

Then I verify the response status of rest service is '200' with FDAAA fields 0s

And the rest service should generate an NCI ID 0s

And I verify the new field expandedAccess is updated as unknown in DynamoDB for the generated NCI ID 0s

Given I Create a complete (Interventional) trial in CTRP using RESTful service with FDAAA fields 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

And I verify the new regulatory Information fields are updated in the DynamoDB 0s

Given I Amend a complete (Interventional) trial in CTRP using RESTful service with NCI ID "NCI-2017-02623" 4s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

And I verify new regulatory Information fields are updated in the DynamoDB 0s

Given I Create a complete (Non-Interventional) trial in CTRP using RESTful service with FDAAA fields 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

And I verify the new regulatory Information fields are updated in the DynamoDB 0s

Given I Amend a complete (Non-Interventional) trial in CTRP using RESTful service with NCI ID "NCI-2017-02624" 4s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

And I verify new regulatory Information fields are updated in the DynamoDB 0s

Given I Create an Abbreviated trial with NCT ID "NCT00421486" using RESTful service with FDAAA fields 2s

Then I verify the response status of rest service is '200' 0s

And I verify the an NCI ID is generated successfully 0s

Given I Update an Abbreviated trial in CTRP using RESTful service for NCI ID "NCI-2017-02587" 1s

Then I verify the response status of rest service is '200' 0s

And I verify the abbreviated trial is updated successfully 0s

And I verify record is updated in database for Abbreviated trial 0s

Given I POST invalid xml into ctrp using RESTful service 0s

Then I verify the response status of rest service is '400' 0s

And I see Validation error message "Validation Exception The NCT Trial Identifier provided is tied to another trial in CTRP system." is displayed 0s

Given I POST a complete trial xml using RESTful service with invalid Username 0s

Then I verify the response status of rest service is '401' 0s

And I see the Validation error message "This request requires HTTP authentication." is displayed 0s

Given I POST a complete trial xml using RESTful service with invalid POId for Person 0s

Then I verify the response status of rest service is '404' 0s

And I see Validation error message "Organization with PO ID of 123456 cannot be found in PO." is displayed 0s

Given I Add Accuring CTEP Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02667" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02667" 0s

And I verify the values with the original payload for Participating Site Add Accuring CTEP 0s

Given I Add Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02669" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02669" 0s

And I verify the values with the original payload for Participating Site Add 0s

Given I Add Cancer Center Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02670" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02670" 0s

And I verify the values with the original payload for Participating Site Add Cancer Center 0s

Given I Add minimum info in Participating Site with CTRP using RESTful service for NCI ID "NCI-2017-02671" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02671" 0s

And I verify the values with the original payload for Participating Site Add minimum info 0s

Given I Add Non Cancer Center Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02672" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02672" 0s

And I verify the values with the original payload for Participating Site Add Non Cancer Center 0s

Given I Add Non Cancer Center Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02673" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02673" 0s

And I verify the values with the original payload for Participating Site Add Non Cancer Center 0s

Given I Add biz validation Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02674" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02674" 0s

And I verify the values with the original payload for Participating Site Add biz validation 0s

Given I Add phone validation for Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02676" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02676" 0s

And I verify the values with the original payload for Participating Site Add phone validation 0s

Given I Add invalid phone validation for Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02693" 0s

Then I verify the response status of rest service is code '400' 0s

And I see Validation error message "Invalid primary contact phone: 75-0356666" is displayed 0s

Given I Update Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02692" and "2" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02692" 0s

And I verify the values with the original payload for Update Participating Site 0s

Given I Update Participating Site with duplicate site in CTRP using RESTful service for NCI ID "NCI-2017-02694" and "2" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02694" 0s

And I verify the values with the original payload for Update Participating Site with Duplicate Site 0s

Given I Update Participating Site with minimum info in CTRP using RESTful service for NCI ID "NCI-2017-02695" and "2" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02695" 0s

And I verify the values with the original payload for Participating Site with minimum info 0s

Given I Update Participating Site with primary contact in CTRP using RESTful service for NCI ID "NCI-2017-02717" and "5625" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02717" 0s

And I verify the values with the original payload for Participating Site with primary contact 0s

Given I Update Participating Site with primary contact existing person in CTRP using RESTful service for NCI ID "NCI-2017-02675" and "2334" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02675" 0s

And I verify the values with the original payload for Participating Site with primary contact existing person 0s

Given I Add new primary contact for integration_ps_with_pc_add Participating Site in CTRP using RESTful service for "NCI-2017-02696" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02696" 0s

And I verify the values with the original payload for Participating Site Add new primary contact for integration_ps_with_pc_add 0s

Given I Add new primary contact for integration_ps_with_pc_as_existing_person_add Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02697" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02697" 0s

And I verify the values with the original payload for Participating Site Add new primary contact for integration_ps_with_pc_as_existing_person_add 0s

Given I Add new primary contact for integration_ps_with_pc_conflicting_designation Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02698" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02698" 0s

And I verify the values with the original payload for Participating Site Add new primary contact for integration_ps_with_pc_conflicting_designation 0s

Given I Add new primary contact for integration_ps_without_primary_contact_add Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02699" 0s

Then I verify the response status of rest service is code '400' 0s

Given I Create a complete trial for integration_register_complete_invalid_startdate_dataset in CTRP using RESTful service 0s

Then I verify the response status of rest service is '400' 0s

And I see Validation error message is displayed for integration_register_complete_invalid_startdate_dataset 0s

Given I Create a complete trial for integration_register_complete_minimal_dataset_accrual in CTRP using RESTful service 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I verify all the fields are saved in database for integration_register_complete_minimal_dataset_accrual 0s

Given I Create a complete trial for integration_register_complete_non_ctgov_but_with_data in CTRP using RESTful service 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I verify all the fields are saved in database 0s

Given I Create a complete trial for integration_register_complete_nonctgov_minimal_data in CTRP using RESTful service 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I verify all the fields are saved in database for integration_register_complete_nonctgov_minimal_data 0s

Given I Create a complete trial for integration_register_complete_nonCtGov_success in CTRP using RESTful service 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I verify all the fields are saved in database for integration_register_complete_nonCtGov_success 0s

Given I Create a complete trial for integration_register_complete_nonInt_success in CTRP using RESTful service 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I verify all the fields are saved in database 1s

Given I Create a complete trial for integration_register_complete_orgs_persons_ctepid in CTRP using RESTful service 3s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I verify all the fields are saved in database 0s

Given I Create a complete trial for integration_register_complete_resp_party_pi in CTRP using RESTful service 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I verify all the fields are saved in database 0s

Given I Create a complete trial for integration_register_complete_resp_party_si in CTRP using RESTful service 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I verify all the fields are saved in database 0s

Given I Create a complete trial for integration_register_complete_schema_violation in CTRP using RESTful service 0s

Then I verify the response status of rest service is '400' 0s

Given I Create a complete trial for integration_register_complete_success in CTRP using RESTful service 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I verify all the fields are saved in database 0s

Given I Create a complete trial for integration_register_complete_success_no_dcp in CTRP using RESTful service 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I verify all the fields are saved in database 0s

Given I Create a complete trial for integration_register_complete_validation_error in CTRP using RESTful service 0s

Then I verify the response status of rest service is '400' 0s

And I see Validation error message is displayed for integration_register_complete_validation_error 0s

Given I Create a complete trial for integration_register_non_cancer_center_with_program_codes in CTRP using RESTful service 2s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Then I verify all the fields are saved in database 0s

Given Update a Abbreviated trial for integration_update_abbr_empty in CTRP using RESTful service for NCI ID "NCI-2017-02760" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an NCI ID 0s

Given Update a Abbreviated trial for integration_update_abbr_schema_violation in CTRP using RESTful service for NCI ID "NCI-2017-02587" 0s

Then I verify the response status of rest service is '400' 0s

Given I Update a complete trial for integration_update_complete_biz_validation in CTRP using RESTful service for "NCI-2017-02751" 2s

Then I verify the response status of rest service is '200' 0s

And I verify record is updated in database 0s

Given I Update a complete trial for integration_update_complete_closed_trial in CTRP using RESTful service for "NCI-2017-02753" 2s

Then I verify the response status of rest service is '200' 0s

And I verify record is updated in database for integration_update_complete_closed_trial 0s

Given I Update a complete trial for integration_update_complete_irb_only in CTRP using RESTful service for "NCI-2017-02754" 1s

Then I verify the response status of rest service is '200' 0s

And I verify record is updated in database for integration_update_complete_irb_only 0s

Given I Update a complete trial for integration_update_complete_no_changes in CTRP using RESTful service for "NCI-2017-02755" 1s

Then I verify the response status of rest service is '200' 0s

And I verify record is updated in database for integration_update_complete_no_changes 0s

Given I Update a complete trial for integration_update_complete_other_docs in CTRP using RESTful service for "NCI-2017-02756" 1s

Then I verify the response status of rest service is '200' 0s

And I verify record is updated in database for integration_update_complete_other_docs 0s

Given I Update a complete trial for integration_update_complete_other_ids in CTRP using RESTful service for "NCI-2017-02757" 1s

Then I verify the response status of rest service is '200' 0s

And I verify record is updated in database for integration_update_complete_other_ids 0s

Given I Update a complete trial for integration_update_complete_schema_violation in CTRP using RESTful service for "NCI-2017-02661" 0s

Then I verify the response status of rest service is '400' 0s

Given I Create a complete "Interventional" trial in CTRP using RESTful service with "phase" as "0" 2s

Then I verify the response status of rest service is '200' 0s

And I verify in DB "phase" is stored as "O" 0s

Given I Create a complete "Non-Interventional" trial in CTRP using RESTful service with "phase" as "0" 2s

Then I verify the response status of rest service is '200' 0s

And I verify in DB "phase" is stored as "O" 0s

Given I Create a complete "Interventional" trial in CTRP using RESTful service with "phase" as "Early Phase I" 2s

Then I verify the response status of rest service is '200' 0s

And I verify in DB "phase" is stored as "O" 0s

Given I Create a complete "Non-Interventional" trial in CTRP using RESTful service with "phase" as "Early Phase I" 2s

Then I verify the response status of rest service is '200' 0s

And I verify in DB "phase" is stored as "O" 0s

Given I Create a complete "Interventional" trial in CTRP using RESTful service with "phase" as "2" 0s

Then I verify the response status of rest service is '400' 0s

And I verify in response it contains "cvc-enumeration-valid: Value '2' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s

Given I Create a complete "Non-Interventional" trial in CTRP using RESTful service with "phase" as "2" 0s

Then I verify the response status of rest service is '400' 0s

And I verify in response it contains "cvc-enumeration-valid: Value '2' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s

Given I Create a complete "Interventional" trial in CTRP using RESTful service with "phase" as "" 0s

Then I verify the response status of rest service is '400' 0s

And I verify in response it contains "cvc-enumeration-valid: Value '' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s

Given I Create a complete "Non-Interventional" trial in CTRP using RESTful service with "phase" as "" 0s

Then I verify the response status of rest service is '400' 0s

And I verify in response it contains "cvc-enumeration-valid: Value '' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s

Given I Amend a complete "Interventional" trial "NCI-2017-02949" in CTRP using RESTful service with "phase" as "0" 4s

Then I verify the response status of rest service is '200' 0s

And I verify in DB "phase" is stored as "O" 0s

Given I Amend a complete "Non-Interventional" trial "NCI-2017-02942" in CTRP using RESTful service with "phase" as "0" 4s

Then I verify the response status of rest service is '200' 0s

And I verify in DB "phase" is stored as "O" 0s

Given I Amend a complete "Interventional" trial "NCI-2017-02943" in CTRP using RESTful service with "phase" as "Early Phase I" 4s

Then I verify the response status of rest service is '200' 0s

And I verify in DB "phase" is stored as "O" 0s

Given I Amend a complete "Non-Interventional" trial "NCI-2017-02944" in CTRP using RESTful service with "phase" as "Early Phase I" 4s

Then I verify the response status of rest service is '200' 0s

And I verify in DB "phase" is stored as "O" 0s

Given I Amend a complete "Interventional" trial "NCI-2017-02945" in CTRP using RESTful service with "phase" as "2" 0s

Then I verify the response status of rest service is '400' 0s

And I verify in response it contains "cvc-enumeration-valid: Value '2' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s

Given I Amend a complete "Non-Interventional" trial "NCI-2017-02946" in CTRP using RESTful service with "phase" as "2" 0s

Then I verify the response status of rest service is '400' 0s

And I verify in response it contains "cvc-enumeration-valid: Value '2' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s

Given I Amend a complete "Interventional" trial "NCI-2017-02947" in CTRP using RESTful service with "phase" as "" 0s

Then I verify the response status of rest service is '400' 0s

And I verify in response it contains "cvc-enumeration-valid: Value '' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s

Given I Amend a complete "Non-Interventional" trial "NCI-2017-02948" in CTRP using RESTful service with "phase" as "" 0s

Then I verify the response status of rest service is '400' 0s

And I verify in response it contains "cvc-enumeration-valid: Value '' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s

Given I create a complete trial in CTRP using RESTful service with trial_status as "Available" 2s

Then I verify the response status of rest service is '200' 0s

Given I create a complete trial in CTRP using RESTful service with trial_status as "No Longer Available" 2s

Then I verify the response status of rest service is '200' 0s

Given I create a complete trial in CTRP using RESTful service with trial_status as "Temporarily not Available" 1s

Then I verify the response status of rest service is '200' 0s

Given I create a complete trial in CTRP using RESTful service with trial_status as "Approved for Marketing" 2s

Then I verify the response status of rest service is '200' 0s

Given I login into CTRP Registry 17s

When I search for a trial "NCI-2017-02636" and click on Amend 5s

Then I go to Regulatory Information section 6s

And "Trial Oversight Authority Country :" field is not displayed in Regulatory Information(Reg) screen 6s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02636" and click on Amend 5s

Then I go to Regulatory Information section 6s

And "Trial Oversight Authority Organization Name :" field is not displayed in the Regulatory Information(Reg) screen 6s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02636" and click on Amend 5s

Then I go to Regulatory Information section 5s

And the newly added fields with options should be there 9s

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-02636" and click on Amend 4s

Then I go to Regulatory Information section 6s

And I select Yes for the field Studies a U.S. FDA-regulated Device Product 1s

Then the existing field Delayed Posting Indicator should be updated to "Unapproved/Uncleared Device :" 1s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02636" and click on Amend 4s

Then I go to Regulatory Information section 5s

And I select FDA Regulated Intervention Indicator field as No 1s

Then Section 801 Indicator field should not be visible 0s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02636" and click on Amend 3s

Then I go to Regulatory Information section 5s

And FDA Regulated Intervention Indicator is Yes 0s

Then Section 801 Indicator field should be visible 0s

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-02636" and click on Amend 4s

Then I go to Regulatory Information section 5s

And I select Yes for Studies a U.S. FDA-regulated Device Product field 1s

Then the field Pediatric Post-market Surveillance should be displayed 0s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02636" and click on Amend 5s

Then I go to Regulatory Information section 5s

And I select Studies a U.S. FDA-regulated Device Product field as No 2s

Then the fields below should not be displayed 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 33s

Then I navigate to Regulatory Information screen 6s

And I fill all details and click save in Regulatory Information Screen 7s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

Then I search for a trial "NCI-2017-02636" and click on Amend 5s

And I verify the PA Reg Info fields entered are displayed in Amendment Reg Info fields 6s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 31s

Then I navigate to Regulatory Information screen 5s

And I fill all details and click save in Regulatory Information Screen 5s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

Then I search for a trial "NCI-2017-02636" and click on Amend 7s

And I click on review trial button 9s

Then I verify the PA Reg Info fields entered are displayed in Amendment(review trial page) Reg Info fields 3s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 32s

Then I navigate to Regulatory Information screen 3s

And I fill all details and click save in Regulatory Information Screen 4s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 17s

Then I search for a trial "NCI-2017-02636" and click on Amend 5s

And I click on review trial button 9s

Then I shall be able to click on Print button 1s

And I verify the PA Reg Info fields entered are displayed in Amendment(print page) Reg Info fields 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 6s

Then I navigate to Regulatory Information screen 4s

And I fill all details as No and click on save in Regulatory Information Screen 5s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

Then I search for a trial "NCI-2017-02636" and click on Amend 5s

And I click on review trial button 9s

Then I shall be able to click on Print button 1s

And I verify regulatory information fields are displayed in Amendment(print page) print page as in PA 25s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 31s

Then I navigate to Regulatory Information screen 5s

And I fill all details as No and click save in Regulatory Information Screen 3s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

Then I search for a trial "NCI-2017-02636" and click on Amend 5s

And I verify the PA Reg Info field values entered are displayed in Amendment Reg Info fields 7s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 32s

Then I navigate to Regulatory Information screen 5s

And I fill all details as No and click on save in Regulatory Information Screen 3s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

Then I search for a trial "NCI-2017-02636" and click on Amend 5s

And I click on review trial button 8s

Then I verify the PA Reg Info field values entered are displayed in Amendment(review trial page) Reg Info fields 31s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 30s

Then I navigate to Regulatory Information screen 5s

And I select Studies a U.S. FDA-regulated Device Product field as Yes and save 3s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

And I search for a trial "NCI-2017-02636" and click on Amend 5s

Then I verify both Unapproved/Uncleared and Pediatric Post-market Surveillance fields are null 14s

And I connect to database and verify the values 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02635" 31s

Then I navigate to Regulatory Information screen 4s

And I fill all details and click save in Regulatory Information Screen 5s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

Then I search for a trial "NCI-2017-02635" and click on Amend 6s

And I enter amendment date and click on submit 13s

Then I verify the PA Reg Info fields entered are displayed in Amendment(submit trial page) Reg Info fields 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02643" 31s

Then I navigate to Regulatory Information screen 4s

And I fill all details as No and click on save in Regulatory Information Screen 4s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

Then I search for a trial "NCI-2017-02643" and click on Amend 5s

And I click on review trial button 7s

Then I verify the PA Reg Info field values entered are displayed in Amendment(submit trial page) Reg Info fields 6s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20786-1cf3yob/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20786-1cf3yob/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20786-1cf3yob/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20786-1cf3yob/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/registry_reg_info_amend.rb:186:in `/^I verify the PA Reg Info field values entered are displayed in Amendment\(submit trial page\) Reg Info fields$/'
features/registry/ui/regulatory_information_amend.feature:170:in `Then I verify the PA Reg Info field values entered are displayed in Amendment(submit trial page) Reg Info fields'

This feature scenarios validates the participating site subject accrual count and cut-off date.
Study site can enrolled sibjects and update the cut-off date for a accrual trial.
In order to add accrual date and cut-off date to the trial, as a user I want to be able to
upload a ZIP or TXT file that contains the accrual data

Given Accrual App launch 2s

Given I login into the CTRP Accrual app 9s

And I search for a trial with NCI trial identifier: "NCI-2017-02679" 3s

And the trial type is "Interventional" and current trial status is "Complete" 0s

And select the trial to view the participating site accrual count page 0s

And I navigate to Batch Upload page 1s

And I upload a ZIP file with valid data that contains the accrual data for Accrual Count and Cut-Off date 1s

Then accrual batch uplaod confirmation message "File Successfully Uploaded - Currently being processed. Email will be received when Processing is complete." displays 6s + Show Error

Unable to locate element: {"method":"css selector","selector":".actionMessage)li)span"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:275:in `get_element_text'
./features/step_definitions/accrual_counts_batch_upload.rb:404:in `/^accrual batch uplaod confirmation message "([^"]*)" displays$/'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:50:in `Then accrual batch uplaod confirmation message "File Successfully Uploaded - Currently being processed. Email will be received when Processing is complete." displays'

Given I login into the CTRP Accrual app 1s

And the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=1" and cutoff date value "&cutOffDt=03-10-2001" 1s

And I search for a trial with NCI trial identifier: "NCI-2017-02679" 4s

And list of Trials table displays with following table columns 0s

And the trial type is "Interventional" and current trial status is "Complete" 0s

And select the trial to view the participating site accrual count page 0s

Then following table column should be presents in the participating site accrual count page 3s

And I navigate to Batch Upload page 1s

And I upload a TXT file with valid data that contains the accrual data for Accrual Count and Cut-Off date 6s

Then accrual batch uplaod confirmation message displays 0s

And I wait for accrual batch upload job to be complete 1s

And I am in Participating Site Subject Accrual Count page 10s + Show Error

Expected element NCI-2017-02679 to be true.
(true) expected but was
(false). (Test::Unit::AssertionFailedError)
./features/support/helper_methods.rb:399:in `check_element_presence'
./features/step_definitions/accrual_counts_batch_upload.rb:211:in `/^I am in Participating Site Subject Accrual Count page$/'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:87:in `And I am in Participating Site Subject Accrual Count page'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:83:in `And I am in Participating Site Subject Accrual Count page'

Then the Accrual count and Cut-Off date should be added or updated for the trial

Given I login into the CTRP Accrual app 6s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:9071:in `Utils.initWebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/app_login.rb:21:in `login_accrual'
./features/step_definitions/accrual_counts_batch_upload.rb:26:in `/^I login into the CTRP Accrual app$/'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:124:in `Given I login into the CTRP Accrual app'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:91:in `Given I login into the CTRP Accrual app'

And the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=5" and cutoff date value "&cutOffDt=03-10-2001"

And I search for a trial with NCI trial identifier: "NCI-2017-02679"

And list of Trials table displays with following table columns

And the trial type is "Interventional" and current trial status is "Complete"

And select the trial to view the participating site accrual count page

Then following table column should be presents in the participating site accrual count page

And I navigate to Batch Upload page

And I upload a ZIP file with valid data that contains the accrual data for Accrual Count and Cut-Off date

Then accrual batch uplaod confirmation message displays

And I wait for accrual batch upload job to be complete

And I am in Participating Site Subject Accrual Count page

Then the Accrual count and Cut-Off date should be added or updated for the trial

Given I login into the CTRP Accrual app 1m 2s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:9071:in `Utils.initWebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/app_login.rb:21:in `login_accrual'
./features/step_definitions/accrual_counts_batch_upload.rb:26:in `/^I login into the CTRP Accrual app$/'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:162:in `Given I login into the CTRP Accrual app'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:128:in `Given I login into the CTRP Accrual app'

And the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=5" and cutoff date value "&cutOffDt=03-10-2001"

And I search for a trial with NCI trial identifier: "NCI-2017-02679"

And list of Trials table displays with following table columns

And the trial type is "Interventional" and current trial status is "Complete"

And select the trial to view the participating site accrual count page

Then following table column should be presents in the participating site accrual count page

And I navigate to Batch Upload page

And I know a MALFORMED batch TXT file name "batch_accrual_counts_malformed.txt"

And I upload a MALFORMED batch TXT file to update Accrual Count and Cut-Off date

Then accrual batch uplaod confirmation message displays

And I wait for accrual batch upload job to be complete

And I am in Participating Site Subject Accrual Count page

Then the Accrual count and Cut-Off date SHOULD NOT be added or updated for the trial due to MALFORMED batch file

Given I login into the CTRP Accrual app 25s

And the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=3" and cutoff date value "&cutOffDt=05-10-2009" 1s

And I search for a trial with NCI trial identifier: "NCI-2017-02679" 2s

And list of Trials table displays with following table columns 0s

And the trial type is "Interventional" and current trial status is "Complete" 0s

And select the trial to view the participating site accrual count page 1s

Then following table column should be presents in the participating site accrual count page 3s

And I navigate to Batch Upload page 1s

And I know a MALFORMED batch ZIP file name "batch_accrual_counts_malformed.zip" 0s

And I upload a MALFORMED batch ZIP file to update Accrual Count and Cut-Off date 1s

Then accrual batch uplaod confirmation message displays 0s

And I wait for accrual batch upload job to be complete 1s

And I am in Participating Site Subject Accrual Count page 15s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/accrual_counts_batch_upload.rb:210:in `/^I am in Participating Site Subject Accrual Count page$/'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:200:in `And I am in Participating Site Subject Accrual Count page'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:196:in `And I am in Participating Site Subject Accrual Count page'

Then the Accrual count and Cut-Off date SHOULD NOT be added or updated for the trial due to MALFORMED batch file

Given I login into CTRP and import a trial with NCT ID "NCT03342339" 25s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/import/import_pa_registry.rb:14:in `import_from_pa'
./features/step_definitions/ctrp_import_ct_api_UI_mine.rb:5:in `/^I login into CTRP and import a trial with NCT ID "([^"]*)"$/'
features/import/ui/ctrp_import_ct_api_UI_mine.feature:45:in `Given I login into CTRP and import a trial with NCT ID "NCT03342339"'

When I connect to db and get the NCI ID

Then I search for a trial with generated NCI ID

And I navigate to "Trial History" page

Then I navigate to audit trail tab

And I select audited object as "NCI Specific Information" and click view audit trial

And I verify user name is displayed as "CI, ctrpsubstractor"

Given I login into CTRP and update a trial with NCT ID "NCT03349723" and user as "ctrpsubstractor" 8s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/import/import_pa_registry.rb:14:in `import_from_pa'
./features/step_definitions/ctrp_import_ct_api_UI_mine.rb:79:in `/^I login into CTRP and update a trial with NCT ID "([^"]*)" and user as "([^"]*)"$/'
features/import/ui/ctrp_import_ct_api_UI_mine.feature:55:in `Given I login into CTRP and update a trial with NCT ID "NCT03349723" and user as "ctrpsubstractor"'

When I connect to db and get the NCI ID

Then I search for a trial with generated NCI ID

And I navigate to "Trial History" page

Then I navigate to audit trail tab

And I select audited object as "NCI Specific Information" and click view audit trial

And I verify user name is displayed as "CI, ctrpsubstractor" with type 'UPDATE'

Given I login into CTRP Registry and import a trial with NCT ID "NCT03342300" 1m 14s + Show Error

Net::ReadTimeout (Net::ReadTimeout)
./features/support/helper_methods.rb:127:in `click_forcefully'
./features/support/registry/menu_navigation.rb:115:in `register_indus_trial'
./features/support/import/import_pa_registry.rb:18:in `import_from_reg_indus_other'
./features/step_definitions/ctrp_import_ct_api_UI_mine.rb:37:in `/^I login into CTRP Registry and import a trial with NCT ID "([^"]*)"$/'
features/import/ui/ctrp_import_ct_api_UI_mine.feature:66:in `Given I login into CTRP Registry and import a trial with NCT ID "NCT03342300"'

When I connect to db and get the NCI ID

Then I login into CTRP and search for a trial with generated NCI ID

And I navigate to "Trial History" page

Then I navigate to audit trail tab

And I select audited object as "NCI Specific Information" and click view audit trial

And I verify user name is displayed as "CI, ctrpsubstractor"

Given I Import a trial with NCT ID "NCT00001000" 1m 0s + Show Error

undefined method `code' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/import/ui/ctrp_import_ct_api_UI_mine.feature:77:in `Given I Import a trial with NCT ID "NCT00001000"'

When I login into CTRP and search for a trial with generated NCI ID

Then I click accept button in the trial validation screen

Then I click on "Outcome Measures" link

And I verify the description of outcome measures is imported successfully

Given I Import a trial with NCT ID "NCT90000001" 1m 0s + Show Error

undefined method `code' for nil:NilClass (NoMethodError)
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/pa/backend/import.feature:9:in `Given I Import a trial with NCT ID "NCT90000001"'
features/pa/backend/import.feature:5:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Temporarily Closed to Accrual and Intervention"

Given I Import a trial with NCT ID "NCT90000002" 22s

And I verify in PA for Trial Status in ct.gov "Approved for marketing" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Approved" 1s + Show Error

Verifying "CTRP status"
Expect value is APPROVED
Actual value is APPROVED FOR MARKETING | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/import_rules.rb:236:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with ctrp status as "([^"]*)"$/'
features/pa/backend/import.feature:10:in `And I verify in PA for Trial Status in ct.gov "Approved for marketing" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Approved"'
features/pa/backend/import.feature:6:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with ctrp status as "(ctrp_status)"'

Given I Import a trial with NCT ID "NCT90000003" 37s

And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Closed to Accrual and Intervention" 0s + Show Error

Verifying "CTRP status"
Expect value is CLOSED TO ACCRUAL AND INTERVENTION
Actual value is NO LONGER AVAILABLE | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/import_rules.rb:236:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with ctrp status as "([^"]*)"$/'
features/pa/backend/import.feature:11:in `And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Closed to Accrual and Intervention"'
features/pa/backend/import.feature:6:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with ctrp status as "(ctrp_status)"'

Given I Import a trial with NCT ID "NCT90000004" 3s

And I verify in PA for Trial Status in ct.gov "Unknown" "insert_active_no" status is inserted with "start_date" along with ctrp status as "In Review" 0s

Given I Import a trial with NCT ID "NCT90000005" 3s

And I verify in PA for Trial Status in ct.gov "Suspended" "insert_active" status is inserted with "start_date" along with ctrp status as "Temporarily Closed to Accrual" 1s

Given I Import a trial with NCT ID "NCT90000006" 2s

And I verify in PA for Trial Status in ct.gov "Terminated" "insert_active" status is inserted with "start_date" along with ctrp status as "Administratively Complete" 1s

Given I Import a trial with NCT ID "NCT90000007" 2s

And I verify in PA for Trial Status in ct.gov "Available" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Active" 1s + Show Error

Verifying "CTRP status"
Expect value is ACTIVE
Actual value is AVAILABLE | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/import_rules.rb:236:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with ctrp status as "([^"]*)"$/'
features/pa/backend/import.feature:15:in `And I verify in PA for Trial Status in ct.gov "Available" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Active"'
features/pa/backend/import.feature:6:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with ctrp status as "(ctrp_status)"'

Given I Import a trial with NCT ID "NCT90000008" 2s

And I verify in PA for Trial Status in ct.gov "Withdrawn" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Withdrawn" 1s

Given I Import a trial with NCT ID "NCT90000009" 3s

And I verify in PA for Trial Status in ct.gov "Active not recruiting" "insert_active" status is inserted with "start_date" along with ctrp status as "Closed to Accrual" 1s

Given I Import a trial with NCT ID "NCT90000010" 2s

And I verify in PA for Trial Status in ct.gov "Enrolling by invitation" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Enrolling by Invitation" 1s

Given I Import a trial with NCT ID "NCT90000011" 2s

And I verify in PA for Trial Status in ct.gov "Not yet recruiting" "insert_active_no" status is inserted with "start_date" along with ctrp status as "In Review" 1s

Given I Import a trial with NCT ID "NCT90000012" 3s

And I verify in PA for Trial Status in ct.gov "Recruiting" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Active" 1s

Given I Import a trial with NCT ID "NCT90000013" 2s

And I verify in PA for Trial Status in ct.gov "Completed" "insert_active" status is inserted with "start_date" along with ctrp status as "Complete" 1s

Given I Import a trial with NCT ID "NCT90000014" 2s

And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active" status is inserted with "start_date" along with ctrp status as "Temporarily Closed to Accrual and Intervention" 1s + Show Error

Verifying "CTRP status Count"
Expect value is 2
Actual value is 1 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/import_rules.rb:245:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with ctrp status as "([^"]*)"$/'
features/pa/backend/import.feature:22:in `And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active" status is inserted with "start_date" along with ctrp status as "Temporarily Closed to Accrual and Intervention"'
features/pa/backend/import.feature:6:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with ctrp status as "(ctrp_status)"'

Given I Import a trial with NCT ID "NCT90000015" 2s

And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active" status is inserted with "start_date" along with ctrp status as "Closed to Accrual and Intervention" 0s + Show Error

Verifying "CTRP status Count"
Expect value is 2
Actual value is 1 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/import_rules.rb:245:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with ctrp status as "([^"]*)"$/'
features/pa/backend/import.feature:23:in `And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active" status is inserted with "start_date" along with ctrp status as "Closed to Accrual and Intervention"'
features/pa/backend/import.feature:6:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with ctrp status as "(ctrp_status)"'

Given I Import a trial with NCT ID "NCT03314415" 2s + Show Error

Verifying "Import response code. Body of response --) New current status date should be bigger/same as old date."
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/'
features/pa/backend/import.feature:24:in `Given I Import a trial with NCT ID "NCT03314415"'
features/pa/backend/import.feature:5:in `Given I Import a trial with NCT ID "(nct_id)"'

And I verify in PA for Trial Status in ct.gov "Suspended" "insert_active" status is inserted with "start_date" along with ctrp status as "Temporarily Closed to Accrual"

Given I get trial status before update for NCT ID "NCT90000021" 1s

And I update a trial with NCT ID "NCT90000021" 2s

And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active_no" status is inserted with "start_date" along with above status 0s

Given I get trial status before update for NCT ID "NCT90000022" 1s

And I update a trial with NCT ID "NCT90000022" 2s

And I verify in PA for Trial Status in ct.gov "Approved for marketing" "insert_active_no" status is inserted with "start_date" along with above status 0s

Given I get trial status before update for NCT ID "NCT90000023" 1s

And I update a trial with NCT ID "NCT90000023" 3s

And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active_no" status is inserted with "start_date" along with above status 0s

Given I get trial status before update for NCT ID "NCT90000024" 1s

And I update a trial with NCT ID "NCT90000024" 4s

And I verify in PA for Trial Status in ct.gov "Unknown" "insert_active_no" status is inserted with "start_date" along with above status 0s

Given I get trial status before update for NCT ID "NCT90000025" 1s

And I update a trial with NCT ID "NCT90000025" 3s

And I verify in PA for Trial Status in ct.gov "Suspended" "insert_active" status is inserted with "start_date" along with above status 0s

Given I get trial status before update for NCT ID "NCT90000026" 1s

And I update a trial with NCT ID "NCT90000026" 2s

And I verify in PA for Trial Status in ct.gov "Terminated" "insert_active" status is inserted with "start_date" along with above status 0s

Given I get trial status before update for NCT ID "NCT90000027" 1s

And I update a trial with NCT ID "NCT90000027" 2s

And I verify in PA for Trial Status in ct.gov "Available" "insert_active_no" status is inserted with "start_date" along with above status 0s

Given I get trial status before update for NCT ID "NCT90000028" 1s

And I update a trial with NCT ID "NCT90000028" 4s

And I verify in PA for Trial Status in ct.gov "Withdrawn" "insert_active_no" status is inserted with "start_date" along with above status 1s

Given I get trial status before update for NCT ID "NCT90000029" 1s

And I update a trial with NCT ID "NCT90000029" 3s

And I verify in PA for Trial Status in ct.gov "Active not recruiting" "insert_active" status is inserted with "start_date" along with above status 1s

Given I get trial status before update for NCT ID "NCT90000030" 1s

And I update a trial with NCT ID "NCT90000030" 2s

And I verify in PA for Trial Status in ct.gov "Enrolling by invitation" "insert_active_no" status is inserted with "start_date" along with above status 1s

Given I get trial status before update for NCT ID "NCT90000031" 1s

And I update a trial with NCT ID "NCT90000031" 3s

And I verify in PA for Trial Status in ct.gov "Not yet recruiting" "insert_active_no" status is inserted with "start_date" along with above status 1s

Given I get trial status before update for NCT ID "NCT90000032" 1s

And I update a trial with NCT ID "NCT90000032" 3s

And I verify in PA for Trial Status in ct.gov "Recruiting" "insert_active_no" status is inserted with "start_date" along with above status 1s

Given I get trial status before update for NCT ID "NCT90000033" 1s

And I update a trial with NCT ID "NCT90000033" 2s

And I verify in PA for Trial Status in ct.gov "Completed" "insert_active" status is inserted with "start_date" along with above status 1s

Given I get trial status before update for NCT ID "NCT90000034" 1s

And I update a trial with NCT ID "NCT90000034" 2s

And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active" status is inserted with "start_date" along with above status 0s + Show Error

Verifying "CTRP status Count"
Expect value is 2
Actual value is 1 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/import_rules.rb:291:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with above status$/'
features/pa/backend/import.feature:50:in `And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active" status is inserted with "start_date" along with above status'
features/pa/backend/import.feature:34:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with above status'

Given I get trial status before update for NCT ID "NCT90000035" 1s

And I update a trial with NCT ID "NCT90000035" 3s

And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active" status is inserted with "start_date" along with above status 1s + Show Error

Verifying "CTRP status Count"
Expect value is 2
Actual value is 1 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/import_rules.rb:291:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with above status$/'
features/pa/backend/import.feature:51:in `And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active" status is inserted with "start_date" along with above status'
features/pa/backend/import.feature:34:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with above status'

Given I get trial status before update for NCT ID "NCT90000041" 1s

And I update a trial with NCT ID "NCT90000041" 2s

And I verify in PA for Trial Status in ct.gov "Temporarily not available" should not be changed 1s

Given I get trial status before update for NCT ID "NCT90000043" 1s

And I update a trial with NCT ID "NCT90000043" 3s

And I verify in PA for Trial Status in ct.gov "No longer available" should not be changed 1s

Given I get trial status before update for NCT ID "NCT90000045" 1s

And I update a trial with NCT ID "NCT90000045" 2s

And I verify in PA for Trial Status in ct.gov "Suspended" should not be changed 0s

Given I get trial status before update for NCT ID "NCT90000046" 1s

And I update a trial with NCT ID "NCT90000046" 2s

And I verify in PA for Trial Status in ct.gov "Terminated" should not be changed 0s

Given I get trial status before update for NCT ID "NCT90000049" 1s

And I update a trial with NCT ID "NCT90000049" 3s

And I verify in PA for Trial Status in ct.gov "Active not recruiting" should not be changed 1s

Given I get trial status before update for NCT ID "NCT90000053" 1s

And I update a trial with NCT ID "NCT90000053" 2s

And I verify in PA for Trial Status in ct.gov "Completed" should not be changed 0s

Given I get trial status before update for NCT ID "NCT90000054" 1s

And I update a trial with NCT ID "NCT90000054" 2s

And I verify in PA for Trial Status in ct.gov "Temporarily not available" should not be changed 0s

Given I get trial status before update for NCT ID "NCT90000055" 1s

And I update a trial with NCT ID "NCT90000055" 2s

And I verify in PA for Trial Status in ct.gov "No longer available" should not be changed 0s

Given I get trial status before update for NCT ID "NCT90000061" 1s

And I update a trial with NCT ID "NCT90000061" 3s

And I verify in PA for existing status "In Review" and Ct.gov new status "Recruiting", new ctrp status "Active" in inserted along with "insert_active_no" 0s + Show Error

Verifying "CTRP status_date for Active status"
Expect value is 2017-05-30
Actual value is 2018-05-09 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/import_rules.rb:340:in `block (2 levels) in (top (required))'
./features/step_definitions/import_rules.rb:336:in `each'
./features/step_definitions/import_rules.rb:336:in `/^I verify in PA for existing status "([^"]*)" and Ct\.gov new status "([^"]*)", new ctrp status "([^"]*)" in inserted along with "([^"]*)"$/'
features/pa/backend/import.feature:76:in `And I verify in PA for existing status "In Review" and Ct.gov new status "Recruiting", new ctrp status "Active" in inserted along with "insert_active_no"'
features/pa/backend/import.feature:73:in `And I verify in PA for existing status "In Review" and Ct.gov new status "(ct_gov_status)", new ctrp status "(ctrp_status)" in inserted along with "(active_or_not)"'

Given I get trial status before update for NCT ID "NCT90000062" 1s

And I update a trial with NCT ID "NCT90000062" 3s

And I verify in PA for existing status "In Review" and Ct.gov new status "Enrolling by invitation", new ctrp status "Enrolling by invitation" in inserted along with "insert_active_no" 1s + Show Error

Verifying "CTRP status_date for Enrolling by invitation status"
Expect value is 2019-11-18
Actual value is 2018-05-09 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/import_rules.rb:340:in `block (2 levels) in (top (required))'
./features/step_definitions/import_rules.rb:336:in `each'
./features/step_definitions/import_rules.rb:336:in `/^I verify in PA for existing status "([^"]*)" and Ct\.gov new status "([^"]*)", new ctrp status "([^"]*)" in inserted along with "([^"]*)"$/'
features/pa/backend/import.feature:77:in `And I verify in PA for existing status "In Review" and Ct.gov new status "Enrolling by invitation", new ctrp status "Enrolling by invitation" in inserted along with "insert_active_no"'
features/pa/backend/import.feature:73:in `And I verify in PA for existing status "In Review" and Ct.gov new status "(ct_gov_status)", new ctrp status "(ctrp_status)" in inserted along with "(active_or_not)"'

Given I get trial status before update for NCT ID "NCT90000063" 1s

And I update a trial with NCT ID "NCT90000063" 3s

And I verify in PA for existing status "In Review" and Ct.gov new status "Active not recruiting", new ctrp status "Closed to Accrual" in inserted along with "insert_active" 0s

Given I get trial status before update for NCT ID "NCT90000064" 1s

And I update a trial with NCT ID "NCT90000064" 3s

And I verify in PA for existing status "In Review" and Ct.gov new status "Suspended", new ctrp status "Temporarily Closed to Accrual" in inserted along with "insert_active" 0s

Given I get trial status before update for NCT ID "NCT90000065" 1s

And I update a trial with NCT ID "NCT90000065" 3s

And I verify in PA for existing status "In Review" and Ct.gov new status "Completed", new ctrp status "Complete" in inserted along with "insert_active" 1s

Given I get trial status before update for NCT ID "NCT90000066" 1s

And I update a trial with NCT ID "NCT90000066" 4s

And I verify in PA for existing status "In Review" and Ct.gov new status "Terminated", new ctrp status "Administratively Complete" in inserted along with "insert_active" 1s

Given I get trial status before update for NCT ID "NCT90000067" 1s

And I update a trial with NCT ID "NCT90000067" 4s

And I verify in PA for existing status "In Review" and Ct.gov new status "Withdrawn", new ctrp status "Withdrawn" in inserted along with "insert_active_no" 1s

Given I login into CTRP and search with NCI ID "NCI-2017-02683" 31s

When I click on "Trial Status" link 5s

Then I verify PCD field has an asterisk 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02677" 7s

When I click on "Trial Status" link 5s

Then I verify PCD field has no asterisk 6s

Given I login into CTRP and search with NCI ID "NCI-2017-02677" 7s

When I click on "Trial Status" link 5s

Then I select N/A type in Primary completion date and delete the date 1s

And I click on save 2s

Then I verify validation error "Only a DCP trial can have a Primary Completion Date Type equals to 'N/A'." is not displayed 6s

When I select anticipated type in PCD field and delete the date 1s

Then I click on save 1s

And I verify validation error "Primary Completion Date is required, unless this is a DCP trial and the date type is set to N/A." is not displayed 6s

And I verify record is saved successfully 0s

When I select actual type in PCD field and delete the date 0s

Then I click on save 2s

And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is displayed 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02681" 6s

When I click on "Trial Status" link 6s

Then I verify PCD field has no asterisk 6s

Given I login into CTRP and search with NCI ID "NCI-2017-02681" 6s

When I click on "Trial Status" link 5s

Then I select N/A type in Primary completion date and delete the date 0s

And I click on save 2s

Then I verify validation error "Only a DCP trial can have a Primary Completion Date Type equals to 'N/A'." is not displayed 6s

When I select anticipated type in PCD field and delete the date 1s

Then I click on save 2s

And I verify validation error "Primary Completion Date is required, unless this is a DCP trial and the date type is set to N/A." is not displayed 6s

And I verify record is saved successfully 0s

When I select actual type in PCD field and delete the date 1s

Then I click on save 3s

And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is displayed 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02680" 6s

When I click on "Trial Status" link 5s

Then I select N/A type in Primary completion date and delete the date 1s

And I click on save 2s

Then I verify validation error "Only a DCP trial can have a Primary Completion Date Type equals to 'N/A'." is not displayed 6s

When I select anticipated type in PCD field and delete the date 1s

Then I click on save 2s

And I verify validation error "Primary Completion Date is required, unless this is a DCP trial and the date type is set to N/A." is not displayed 6s

And I verify record is saved successfully 0s

When I select actual type in PCD field and delete the date 0s

Then I click on save 3s

And I verify validation error "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is displayed 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02678" 6s

When I click on "Trial Status" link 5s

Then I select N/A type in Primary completion date and delete the date 1s

And I click on save 2s

Then I verify validation error "Only a DCP trial can have a Primary Completion Date Type equals to 'N/A'." is not displayed 6s

When I select anticipated type in PCD field and delete the date 0s

Then I click on save 2s

And I verify validation error "Primary Completion Date is required, unless this is a DCP trial and the date type is set to N/A." is not displayed 6s

And I verify record is saved successfully 0s

When I select actual type in PCD field and delete the date 1s

Then I click on save 2s

And I verify validation error "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is displayed 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02682" 5s

When I click on "Trial Status" link 3s

Then I select N/A type in Primary completion date and delete the date 0s

And I click on save 2s

Then I verify validation error "Only a DCP trial can have a Primary Completion Date Type equals to 'N/A'." is not displayed 6s

When I select anticipated type in PCD field and delete the date 0s

Then I click on save 3s

And I verify validation error "Primary Completion Date is required, unless this is a DCP trial and the date type is set to N/A." is not displayed 6s

And I verify record is saved successfully 0s

When I select actual type in PCD field and delete the date 1s

Then I click on save 2s

And I verify validation error "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is displayed 0s

Given I login into CTRP Registry 17s

When I navigate to a new National trial screen 2s

Then I enter all required fields except primary completion date and click review trial 20s + Show Error

Unable to locate element: {"method":"xpath","selector":"//div[@id='getOrgs']//button[1]"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/registry/register_trial.rb:707:in `select_org_item'
./features/step_definitions/dcp.rb:60:in `/^I enter all required fields except primary completion date and click review trial$/'
features/pa/ui/dcp.feature:127:in `Then I enter all required fields except primary completion date and click review trial'

And I verify error message "Please enter a valid date" is displayed

And I verify error message "Please enter a valid date type" is displayed

Given I login into CTRP Registry 15s

When I search for a trial "NCI-2017-02684" and click on update 6s + Show Error

Unable to locate element: {"method":"id","selector":"identifier"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:147:in `enter_text'
./features/step_definitions/registry_reg_info_update.rb:8:in `/^I search for a trial "([^"]*)" and click on update$/'
features/pa/ui/dcp.feature:134:in `When I search for a trial "NCI-2017-02684" and click on update'

Then I delete PCD and click on review trial

And I verify error message "Please enter a valid date" is displayed

Given I login into CTRP Registry 15s

When I search for a trial "NCI-2017-02684" and click on Amend 3s

Then I delete PCD and click on review trial 9s

And I verify the error message "Please enter a valid date" is displayed 0s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 1s

Then I enter all the fields except primary completion date and click review trial 31s

And I verify error message "Please enter a valid date" is not displayed 6s

And I verify error message "Please enter a valid date type" is not displayed 6s

And I verify the PCD value is blank on 'review' page 0s

And I verify the PCD value is blank on 'print' page 0s

And I verify the PCD value is blank on 'submit' page 0s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 1s

Then I click on the "Participating Sites template" link 5s

And I verify the template is switched to new window 0s

Given I login into CTRP Registry 5s

When I search for a trial "NCI-2017-02735" and click on update 6s

Then I enter PCD with radio type as 'N/A' and click review trial in update page 7s

And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 0s

And I verify radio type 'N/A' is selected 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02735" and click on update 4s

Then I delete PCD and select radio type as 'actual' and click review trial in update page 8s

And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-02735" and click on update 4s

Then I delete PCD and select radio type as 'N/A' and click review trial 7s

And I verify PCD value on update review page 2s

And I verify the PCD value on print page 1s

And I verify the PCD value on update submit page 2s

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-02732" and click on Amend 3s

Then I enter PCD with radio type as 'N/A' and click review trial in amend page 5s + Show Error

Unexpected modal dialog (text: Error occured while loading program codes(html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 500 - org.hibernate.exception.SQLGrammarException: could not execute query(/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000066: Exception report(/p)(p)(b)JBWEB000068: message(/b) (u)org.hibernate.exception.SQLGrammarException: could not execute query(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.(/u)(/p)(p)(b)JBWEB000070: exception(/b) (pre)javax.ejb.EJBException: org.hibernate.exception.SQLGrammarException: could not execute query
	org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:215)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:261)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:398)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:242)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:81)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
	org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
	gov.nih.nci.po.service.OrganizationServiceLocal$$$view13.search(Unknown Source)
	gov.nih.nci.services.organization.OrganizationEntityServiceBean.search(OrganizationEntityServiceBean.java:265)
	gov.nih.nci.services.organization.OrganizationEntityServiceBean.search(OrganizationEntityServiceBean.java:241)
	sun.reflect.GeneratedMethodAccessor732.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
	org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
	gov.nih.nci.services.entity.NullifiedEntityInterceptor.checkForNullified(NullifiedEntityInterceptor.java:117)
	sun.reflect.GeneratedMethodAccessor501.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
	com.fiveamsolutions.nci.commons.ejb.AbstractHibernateSessionInterceptor.manageHibernateSession(AbstractHibernateSessionInterceptor.java:113)
	sun.reflect.GeneratedMethodAccessor367.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
	com.fiveamsolutions.nci.commons.ejb.AuthorizationInterceptor.prepareReturnValue(AuthorizationInterceptor.java:132)
	sun.reflect.GeneratedMethodAccessor366.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
	org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:259)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:398)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:242)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:79)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:122)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:81)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
	org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.invokeMethod(MethodInvocationMessageHandler.java:329)
	org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$100(MethodInvocationMessageHandler.java:70)
	org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:203)
	java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
	java.util.concurrent.FutureTask.run(FutureTask.java:262)
	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
	java.lang.Thread.run(Thread.java:748)
	org.jboss.threads.JBossThread.run(JBossThread.java:122)
	...asynchronous invocation...(Unknown Source)
	org.jboss.ejb.client.remoting.InvocationExceptionResponseHandler$MethodInvocationExceptionResultProducer.getResult(InvocationExceptionResponseHandler.java:99)
	org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:272)
	org.jboss.ejb.client.EJBObjectInterceptor.handleInvocationResult(EJBObjectInterceptor.java:64)
	org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:274)
	org.jboss.ejb.client.EJBHomeInterceptor.handleInvocationResult(EJBHomeInterceptor.java:88)
	org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:274)
	org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:46)
	org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:274)
	org.jboss.ejb.client.ReceiverInterceptor.handleInvocationResult(ReceiverInterceptor.java:129)
	org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:262)
	org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:437)
	org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:202)
	org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:181)
	org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:144)
	com.sun.proxy.$Proxy131.search(Unknown Source)
	gov.nih.nci.pa.service.util.FamilyHelper.getByOrgId(FamilyHelper.java:69)
	gov.nih.nci.pa.service.util.FamilyHelper.getByOrgId(FamilyHelper.java:49)
	gov.nih.nci.registry.action.SubmitTrialAction.isOrgBelongToFamily(SubmitTrialAction.java:485)
	sun.reflect.GeneratedMethodAccessor3234.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:892)
	ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1294)
	ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)
	com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:117)
	com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:108)
	ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1370)
	ognl.ASTMethod.getValueBody(ASTMethod.java:91)
	ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
	ognl.SimpleNode.getValue(SimpleNode.java:258)
	ognl.Ognl.getValue(Ognl.java:467)
	ognl.Ognl.getValue(Ognl.java:431)
	com.opensymphony.xwork2.ognl.OgnlUtil$3.execute(OgnlUtil.java:352)
	com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecuteMethod(OgnlUtil.java:404)
	com.opensymphony.xwork2.ognl.OgnlUtil.callMethod(OgnlUtil.java:350)
	com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:430)
	com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:290)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:251)
	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:100)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.fiveamsolutions.nci.commons.web.struts2.interceptor.AbstractInterceptorBase.intercept(AbstractInterceptorBase.java:158)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168)
	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
	org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:76)
	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:253)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:140)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)
	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.fiveamsolutions.nci.commons.web.struts2.interceptor.ShowSplashPageInterceptor.intercept(ShowSplashPageInterceptor.java:123)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	com.fiveamsolutions.nci.commons.web.struts2.interceptor.AbstractInterceptorBase.intercept(AbstractInterceptorBase.java:158)
	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
	org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
	org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:575)
	org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:81)
	org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)
	com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
	com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
	org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
	gov.nih.nci.registry.util.CustomStruts2ActionContextCleanup.doFilter(CustomStruts2ActionContextCleanup.java:68)
	com.fiveamsolutions.nci.commons.web.filter.OpenSessionInViewFilter.doFilter(OpenSessionInViewFilter.java:121)
	com.fiveamsolutions.nci.commons.web.filter.SessionFixationProtectionFilter.doFilter(SessionFixationProtectionFilter.java:145)
	com.fiveamsolutions.nci.commons.web.filter.UsernameFilter.doFilter(UsernameFilter.java:127)
	gov.nih.nci.pa.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:74)
	gov.nih.nci.coppa.web.RequestTrackingFilter.doFilter(RequestTrackingFilter.java:49)
(/pre)(/p)(p)(b)JBWEB000071: root cause(/b) (pre)org.hibernate.exception.SQLGrammarException: could not execute query
	org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
	org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	org.hibernate.loader.Loader.doList(Loader.java:2231)
	org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125)
	org.hibernate.loader.Loader.list(Loader.java:2120)
	org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401)
	org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:361)
	org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
	org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148)
	org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
	com.fiveamsolutions.nci.commons.service.AbstractBaseSearchBean.getResultList(AbstractBaseSearchBean.java:235)
	com.fiveamsolutions.nci.commons.service.AbstractBaseSearchBean.search(AbstractBaseSearchBean.java:159)
	sun.reflect.GeneratedMethodAccessor560.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
	org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
	org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:259)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:398)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:242)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:81)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
	org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
	gov.nih.nci.po.service.OrganizationServiceLocal$$$view13.search(Unknown Source)
	gov.nih.nci.services.organization.OrganizationEntityServiceBean.search(OrganizationEntityServiceBean.java:265)
	gov.nih.nci.services.organization.OrganizationEntityServiceBean.search(OrganizationEntityServiceBean.java:241)
	sun.reflect.GeneratedMethodAccessor732.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
	org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
	gov.nih.nci.services.entity.NullifiedEntityInterceptor.checkForNullified(NullifiedEntityInterceptor.java:117)
	sun.reflect.GeneratedMethodAccessor501.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
	com.fiveamsolutions.nci.commons.ejb.AbstractHibernateSessionInterceptor.manageHibernateSession(AbstractHibernateSessionInterceptor.java:113)
	sun.reflect.GeneratedMethodAccessor367.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
	com.fiveamsolutions.nci.commons.ejb.AuthorizationInterceptor.prepareReturnValue(AuthorizationInterceptor.java:132)
	sun.reflect.GeneratedMethodAccessor366.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
	org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:259)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:398)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:242)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:79)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:122)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:81)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
	org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.invokeMethod(MethodInvocationMessageHandler.java:329)
	org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$100(MethodInvocationMessageHandler.java:70)
	org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:203)
	java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
	java.util.concurrent.FutureTask.run(FutureTask.java:262)
	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
	java.lang.Thread.run(Thread.java:748)
	org.jboss.threads.JBossThread.run(JBossThread.java:122)
(/pre)(/p)(p)(b)JBWEB000071: root cause(/b) (pre)org.postgresql.util.PSQLException: ERROR: relation "organization" does not exist
  Position: 478
	org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)
	org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)
	org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
	org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:559)
	org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417)
	org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:302)
	sun.reflect.GeneratedMethodAccessor307.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.postgresql.ds.jdbc23.AbstractJdbc23PooledConnection$StatementHandler.invoke(AbstractJdbc23PooledConnection.java:453)
	com.sun.proxy.$Proxy170.executeQuery(Unknown Source)
	org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:462)
	org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	org.hibernate.loader.Loader.getResultSet(Loader.java:1808)
	org.hibernate.loader.Loader.doQuery(Loader.java:697)
	org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	org.hibernate.loader.Loader.doList(Loader.java:2228)
	org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125)
	org.hibernate.loader.Loader.list(Loader.java:2120)
	org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401)
	org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:361)
	org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
	org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148)
	org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
	com.fiveamsolutions.nci.commons.service.AbstractBaseSearchBean.getResultList(AbstractBaseSearchBean.java:235)
	com.fiveamsolutions.nci.commons.service.AbstractBaseSearchBean.search(AbstractBaseSearchBean.java:159)
	sun.reflect.GeneratedMethodAccessor560.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
	org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
	org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:259)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:398)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:242)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:81)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
	org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
	gov.nih.nci.po.service.OrganizationServiceLocal$$$view13.search(Unknown Source)
	gov.nih.nci.services.organization.OrganizationEntityServiceBean.search(OrganizationEntityServiceBean.java:265)
	gov.nih.nci.services.organization.OrganizationEntityServiceBean.search(OrganizationEntityServiceBean.java:241)
	sun.reflect.GeneratedMethodAccessor732.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
	org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
	gov.nih.nci.services.entity.NullifiedEntityInterceptor.checkForNullified(NullifiedEntityInterceptor.java:117)
	sun.reflect.GeneratedMethodAccessor501.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
	com.fiveamsolutions.nci.commons.ejb.AbstractHibernateSessionInterceptor.manageHibernateSession(AbstractHibernateSessionInterceptor.java:113)
	sun.reflect.GeneratedMethodAccessor367.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
	com.fiveamsolutions.nci.commons.ejb.AuthorizationInterceptor.prepareReturnValue(AuthorizationInterceptor.java:132)
	sun.reflect.GeneratedMethodAccessor366.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
	org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:259)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:398)
	org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:242)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:79)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:122)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:81)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
	org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
	org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
	org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
	org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.invokeMethod(MethodInvocationMessageHandler.java:329)
	org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$100(MethodInvocationMessageHandler.java:70)
	org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:203)
	java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
	java.util.concurrent.FutureTask.run(FutureTask.java:262)
	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
	java.lang.Thread.run(Thread.java:748)
	org.jboss.threads.JBossThread.run(JBossThread.java:122)
(/pre)(/p)(p)(b)JBWEB000072: note(/b) (u)JBWEB000073: The full stack trace of the root cause is available in the JBoss Web/7.2.2.Final-redhat-1 logs.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html)) (Selenium::WebDriver::Error::UnhandledAlertError)
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:10085:in `fxdriver.modals.closeUnhandledAlert/('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:9993:in `fxdriver.modals.isModalPresent/('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:631:in `fxdriver.Timer.prototype.runWhenTrue/g'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:633:in `fxdriver.Timer.prototype.runWhenTrue'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:9989:in `fxdriver.modals.isModalPresent'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:10074:in `fxdriver.modals.closeUnhandledAlert'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:12731:in `nsCommandProcessor.prototype.execute'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:9558:in `Dispatcher.executeAs/('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:9705:in `Resource.prototype.handle'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:9652:in `Dispatcher.prototype.dispatch'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/driver-component.js:12517:in `WebDriverServer/(.handle'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/httpd.js:2054:in `createHandlerFunc/('
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/httpd.js:2387:in `ServerHandler.prototype.handleResponse'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/httpd.js:1223:in `Connection.prototype.process'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/httpd.js:1677:in `RequestReader.prototype._handleResponse'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/httpd.js:1525:in `RequestReader.prototype._processBody'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/httpd.js:1393:in `RequestReader.prototype.onInputStreamReady'
[remote server] resource://gre/components/nsPrompter.js:360:in `openModalWindow'
[remote server] resource://gre/components/nsPrompter.js:550:in `ModalPrompter.prototype.openPrompt'
[remote server] resource://gre/components/nsPrompter.js:602:in `ModalPrompter.prototype.alert'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/prompt-service.js:4745:in `ObservingAlert.prototype.alert'
[remote server] https://trials-int.nci.nih.gov/registry/scripts/js/submitTrial.js:382:in `loadProgramCodes/('
[remote server] https://trials-int.nci.nih.gov/registry/scripts/js/jquery-2.2.4.min.js:2:in `n.Callbacks/i'
[remote server] https://trials-int.nci.nih.gov/registry/scripts/js/jquery-2.2.4.min.js:2:in `n.Callbacks/j.fireWith'
[remote server] https://trials-int.nci.nih.gov/registry/scripts/js/jquery-2.2.4.min.js:4:in `z'
[remote server] https://trials-int.nci.nih.gov/registry/scripts/js/jquery-2.2.4.min.js:4:in `.send/c/('
./features/support/helper_methods.rb:147:in `enter_text'
./features/step_definitions/dcp.rb:253:in `/^I enter PCD with radio type as 'N\/A' and click review trial in amend page$/'
features/pa/ui/dcp.feature:205:in `Then I enter PCD with radio type as 'N/A' and click review trial in amend page'

And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-02732" and click on Amend 3s

Then I delete PCD and select radio type as 'actual' and click review trial in amend page 12s

And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02737" and click on update 4s

Then I enter PCD with radio type as 'N/A' and click review trial in update page 8s

And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 0s

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-02737" and click on update 3s

Then I delete PCD and select radio type as 'actual' and click review trial in update page 6s

And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02738" and click on Amend 3s

Then I enter PCD with radio type as 'N/A' and click review trial in amend page 13s

And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02738" and click on Amend 5s

Then I delete PCD and select radio type as 'actual' and click review trial in amend page 14s

And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02739" and click on Amend 3s

Then I delete PCD and select radio type as 'N/A' and click review trial in amend page 7s

And I verify the PCD value on amend review page 5s

And I verify the PCD value on print page 1s

And I verify the PCD value on amend submit page 5s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 1s

Then I enter PCD with radio type as 'N/A' and click review trial in register page 40s

And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 0s

Given I login into CTRP Registry 3s

When I navigate to a new National trial screen 1s

Then I delete PCD and select radio type as 'actual' and click review trial in register page 38s

And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s

Given I login into CTRP Registry 3s

When I navigate to a new National trial screen 1s

Then I enter all fields except primary completion date 34s

And I verify the PCD value on review page 2s

And I verify the PCD value on print page 1s

And I verify the PCD value on submit page 4s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02740" and click on update 4s

Then I enter PCD with radio type as 'N/A' and click review trial in update page 10s

And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 0s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02740" and click on update 5s

Then I delete PCD and select radio type as 'actual' and click review trial in update page 9s

And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-02740" and click on update 4s

Then I delete PCD and select radio type as 'N/A' and click review trial 7s

And I verify PCD value on update review page 2s

And I verify the PCD value on print page 2s

And I verify the PCD value on update submit page 3s

Given I login into CTRP Registry 4s

When I search for a trial "NCI-2017-02741" and click on Amend 4s

Then I enter PCD with radio type as 'N/A' and click review trial in amend page 14s

And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 0s

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-02741" and click on Amend 5s

Then I delete PCD and select radio type as 'actual' and click review trial in amend page 15s

And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 1s

Then I verify 'N/A' radio type is removed 5s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02733" and click on update 5s

Then I verify 'N/A' radio type is removed 4s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02734" and click on Amend 3s

Then I verify 'N/A' radio type is removed 6s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

And I complete the remaining trial for Save as draft 10s

And I click to Save as Draft 2s

Then It shall Save the draft with no IND-IDE and trial type "Interventional" 6s

And I verify the db for no IND-IDE for Save as draft 1s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 1s

And I complete the remaining trial for Save as draft 11s

And I click to Save as Draft 2s

Then It shall Save the draft with no IND-IDE and trial type "Interventional" 7s

And I verify the db for no IND-IDE for Save as draft 1s

And I searched for above draft 8s

And I click to Complete the Draft 0s

Then It shall take to the Trial page 5s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 19s

And I click to Save as Draft 3s

Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s

And I verify the db for correct IND-IDE for Save as draft 2s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 19s

Then I verify the IND-IDE information 1s

And I complete the remaining trial for Save as draft 5s

And I click to Save as Draft 2s

Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s

And I verify the db for correct IND-IDE for Save as draft 2s

And I searched for above draft 6s

And I click to Complete the Draft 1s

Then It shall take to the Trial page 5s

And I again add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 19s

And I click to Save as Draft 2s

Then It shall Save the draft with the new added IND-IDE 1s

And I verify the db for all IND-IDE for Save as draft 2s

Given I login into CTRP Registry 3s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 16s

Then I verify the IND-IDE information 1s

And I complete the remaining trial for Save as draft 3s

And I click to Save as Draft 2s

Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s

And I verify the db for correct IND-IDE for Save as draft 1s

And I searched for above draft 4s

And I click to Complete the Draft 0s

Then It shall take to the Trial page 5s

And I delete the previously added IND-IDE 1s

And I click to Save as Draft 2s

Then It shall Save the draft with no IND-IDE and trial type "Interventional" 6s

And I verify the db for no IND-IDE for Save as draft 1s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 6s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 16s

Then I verify the IND-IDE information 1s

And I complete the remaining trial for Save as draft 3s

And I click to Save as Draft 2s

Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s

And I verify the db for correct IND-IDE for Save as draft 1s

And I searched for above draft 7s

And I click to Complete the Draft 0s

Then It shall take to the Trial page 5s

And I complete the remaining trial 17s + Show Error

Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/registry_ind_ide_info.rb:328:in `/^I complete the remaining trial$/'
features/registry/ui/IND_IDE_save_as_draft.feature:97:in `And I complete the remaining trial'

And I click to review trial

Then I verify the IND-IDE information on Review page

And I Edit the trial

Then I verify the IND-IDE information

And I Review and Submit the trial

Then I verify the IND-IDE information on Submit page for "National" trial and "Interventional" trial

And I verify the db for correct IND-IDE

And I verify the db for draft record after Submit

Given I login into CTRP Registry 3s

When I navigate to a new National trial screen 0s

And I complete the remaining trial for Save as draft 9s

And I click to Save as Draft 2s

Then It shall Save the draft with no IND-IDE and trial type "Interventional" 6s

And I verify the db for no IND-IDE for Save as draft 1s

And I searched for above draft 5s

And I click to Complete the Draft 1s

Then It shall take to the Trial page 5s

And I complete the remaining trial 23s

And I click to review trial 1s

Then I verify there are no IND-IDE information on Review page 7s

And I Edit the trial 4s

Then I verify there are no the IND-IDE information 6s

And I Review and Submit the trial with no IND-IDE 12s

Then I verify there is no IND-IDE information on Submit page for "National" trial and "Interventional" trial 6s

And I verify the db for no IND-IDE 1s

And I verify the db for draft record and no IND-IDE after Submit 1s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

And I complete the remaining trial for Save as draft 7s

And I click to Save as Draft 2s

Then It shall Save the draft with no IND-IDE and trial type "Interventional" 6s

And I verify the db for no IND-IDE for Save as draft 1s

And I searched for above draft 3s

And I click to Delete the Draft 0s

Then The draft should be deleted 0s

And I verify the db for deleted draft 1s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 15s

Then I verify the IND-IDE information 1s

And I complete the remaining trial for Save as draft 3s

And I click to Save as Draft 2s

Then It shall Save the draft with the IND-IDE and trial type "Interventional" 0s

And I verify the db for correct IND-IDE for Save as draft 1s

And I searched for above draft 4s

And I click to Delete the Draft 1s

Then The draft should be deleted 0s

And I verify the db for deleted draft and IND-IDE 2s

Given I login into CTRP Registry 2s

When I navigate to a new Externally Peer-Reviewed screen 1s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 18s

Then I verify the IND-IDE information 1s

And I complete the remaining trial for Save as draft 5s

And I click to Save as Draft 2s

Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s

And I verify the db for correct IND-IDE for Save as draft 1s

And I searched for above draft 6s

And I click to Complete the Draft 0s

Then It shall take to the Trial page 6s

And I complete the remaining trial 32s

And I click to review trial 0s

Then I verify the IND-IDE information on Review page 4s

And I Edit the trial 6s

Then I verify the IND-IDE information 1s

And I Review and Submit the trial 8s

Then I verify the IND-IDE information on Submit page for "Externally Peer-Reviewed" trial and "Interventional" trial 1s

And I verify the db for correct IND-IDE 2s

And I verify the db for draft record after Submit 1s

Given I login into CTRP Registry 2s

When I navigate to a new Institutional screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 18s

Then I verify the IND-IDE information 1s

And I complete the remaining trial for Save as draft 5s

And I click to Save as Draft 2s

Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s

And I verify the db for correct IND-IDE for Save as draft 2s

And I searched for above draft 6s

And I click to Complete the Draft 1s

Then It shall take to the Trial page 4s

And I complete the remaining Non-Interventional trial 42s

And I click to review trial 1s

Then I verify the IND-IDE information on Review page 2s

And I Edit the trial 5s

Then I verify the IND-IDE information 1s

And I Review and Submit the trial 7s

Then I verify the IND-IDE information on Submit page for "Institutional" trial and "Non-Interventional" trial 1s

And I verify the db for correct IND-IDE 2s

And I verify the db for draft record after Submit 1s

Given I login into CTRP Registry 2s

When I navigate to a new Externally Peer-Reviewed screen 1s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 18s

Then I verify the IND-IDE information 1s

And I complete the remaining trial for Save as draft 4s

And I select the Non-interventional Trial Type 0s

And I click to Save as Draft 2s

Then It shall Save the draft with the IND-IDE and trial type "NonInterventional" 1s

And I verify the db for correct IND-IDE for Save as draft 1s

And I searched for above draft 5s

And I click to Complete the Draft 0s

Then It shall take to the Trial page 6s

And I complete the remaining Non-Interventional trial 20s + Show Error

Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h'
[remote server] file:///tmp/webdriver-profile20180509-20788-1ck7yk5/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/registry_ind_ide_info.rb:618:in `/^I fill all fields$/'
./features/step_definitions/registry_ind_ide_info.rb:578:in `/^I complete the remaining Non-Interventional trial$/'
features/registry/ui/IND_IDE_save_as_draft.feature:250:in `And I complete the remaining Non-Interventional trial'

And I click to review trial

Then I verify the IND-IDE information on Review page

And I Edit the trial

Then I verify the IND-IDE information

And I Review and Submit the trial

Then I verify the IND-IDE information on Submit page for "Externally Peer-Reviewed" trial and "Non-Interventional" trial

And I verify the db for correct IND-IDE

And I verify the db for draft record after Submit

Given I login into CTRP Registry 3s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And I add the IND record with IND number as "1234" 6s

And I add the IND record with IND number as "1234" 5s

And I complete the remaining trial for Save as draft 3s

And I click to Save as Draft 3s

Then It shall not Save the draft and give message as "Trial IND/IDE should not have Duplicate values" 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 1s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And I add the IND record with IND number as "1234" 5s

And I add the IDE record with IDE number as "1234" 14s

And I complete the remaining trial for Save as draft 3s

And I click to Save as Draft 2s

Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s

And I verify the db for correct IND-IDE for Save as draft 1s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 4s

And I add the IND record with IND number as "1234" 5s

And I add the IND record with IND number as "1234" 5s

And I complete the remaining trial for Save as draft 3s

And I click to Save as Draft 5s

Then It shall not Save the draft and give message as "Trial IND/IDE should not have Duplicate values" 0s

And I delete the duplicate IND number 1s

And I add new IND-IDE 11s

And I click to Save as Draft 2s

Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s

And I verify the db for correct IND-IDE for Save as draft 1s

Given I login into CTRP Registry 3s

When I navigate to a new Institutional screen 0s

Then I go to FDA IND/IDE Information for applicable trials section 6s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 16s

Then I verify the IND-IDE information 0s

And I complete the remaining trial for Save as draft 2s

And I click to Save as Draft 1s

Then It shall Save the draft with the IND-IDE and trial type "Interventional" 0s

And I verify the db for correct IND-IDE for Save as draft 2s

And I searched for above draft 5s

And I click to Complete the Draft 1s

Then It shall take to the Trial page 4s

And I complete the remaining Non-Interventional trial with no FDA Indicator selected 37s

And I click to review trial 1s

Then I verify the IND-IDE information on Review page 3s

And I click to submit trial 4s

Then It shall give error message as "Error Message: FDA Regulated Intervention Indicator must be Yes since it has Trial IND/IDE records." 0s

And I select "FDA Regulated Intervention Indicator" as "Yes" 1s

And I click to review trial 1s

And I click to submit trial 7s

Then I verify the IND-IDE information on Submit page for "Institutional" trial and "Non-Interventional" trial 1s

And I verify the db for correct IND-IDE 2s

And I verify the db for draft record after Submit 1s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 1s

Then I go to FDA IND/IDE Information for applicable trials section 5s

And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes (no Expanded Access record), No 18s

Then I verify the IND-IDE information 1s

And I complete the remaining trial for Save as draft 4s

And I click to Save as Draft 2s

Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s

And I verify the db for correct IND-IDE for Save as draft 2s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I verify XML required field is removed 8s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 1s

Then I verify Sponsor/Responsible Party section is optional 8s

And I verify Sponsor field is optional 6s

And I verify Responsible Party field is optional 6s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I enter "Sponsor" field as null 5s

And I verify the validation error message 'Please choose a Sponsor using the lookup' is removed 8s

Given I login into CTRP Registry 3s

When I navigate to a new National trial screen 0s

Then I enter "Responsible Party" field as null 5s

And I verify the validation error message 'Responsible Party' is required is removed 8s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I select 'Principal Investigator' in the responsible Party field 11s

And I verify below fields with required validations are present 1s

Then I select 'Sponsor-Investigator' in the responsible Party field 8s

And I verify below fields with required validations are present 1s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 1s

Then I navigate to the Sponsor/Responsible party section 4s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 0s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I enter all details and click review trial 29s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Then I click on submit button 6s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I populate all the required fields 44s

And I save the "National" trial as draft 2s

Then I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I enter all details and click review trial 33s

And I shall be able to click on Print button 1s

Then I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I verify Regulatory Information section is optional 8s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I enter all details except "FDA Regulated Intervention" field in Reg Info section 32s

And I verify the validation message "Error Message: FDA Regulated Intervention Indicator is required field." is removed 7s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I enter all details except "Section801 Indicator" field in Reg Info section 36s

And I verify the validation message "Error Message: Section 801 is required if FDA Regulated indicator is true." is removed 7s

Given I login into CTRP Registry 3s

When I navigate to a new National trial screen 1s

Then I navigate to Regulatory Information section 4s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 0s

Given I login into CTRP Registry 3s

When I navigate to a new National trial screen 0s

Then I enter all details and click review trial 36s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

And I click on submit button 3s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I populate all the required fields 32s

And I save the "National" trial as draft 3s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I enter all details and click review trial 24s

And I shall be able to click on Print button 1s

Then I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02625" and click on update 1s

Then I verify Sponsor/Responsible Party section is optional in Update Trial page 7s

And I verify Sponsor field is optional 6s

And I verify Responsible Party field is optional 6s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02625" and click on update 3s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present on update page 3s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02625" and click on update 2s

Then I update the fields and click on review trial 4s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02625" and click on update 3s

Then I update the fields and click on review trial 5s

And I verify Sponsor field is optional in Update Trial(Review) page 9s

And I verify Responsible Party field is optional 6s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02625" and click on update 2s

Then I update the fields and click on review trial 4s

And I shall be able to click on Print button 1s

Then I verify Sponsor field is optional in Update Trial(Print) page 6s

And I verify Responsible Party field is optional 6s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02625" and click on update 5s

Then I update the fields and click on review trial 5s

And I shall be able to click on Print button 1s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02625" and click on update 3s

Then I update the fields and click on submit 7s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02625" and click on update 3s

Then I verify Regulatory Information section is optional 7s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02625" and click on update 3s

Then I verify FDA Regulated Intervention Indicator field is optional 7s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02625" and click on update 3s

Then I verify Section 801 Indicator field is optional 7s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02625" and click on update 2s

And I verify in update page a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 4s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02625" and click on update 3s

Then I update the fields and click on review trial 6s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02625" and click on update 3s

Then I update the fields and click on submit 8s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02625" and click on update 2s

Then I update the fields and click on review trial 5s

And I shall be able to click on Print button 1s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02638" and click on Amend 5s

Then I verify Sponsor/Responsible Party section is optional in amendment Trial page 11s

And I verify Sponsor field is optional 6s

And I verify Responsible Party field is optional 6s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02638" and click on Amend 3s

Then I enter null in sponsor field 7s

And I verify the validation error message "Responsible Party is required" is removed 8s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02638" and click on Amend 5s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 5s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02638" and click on Amend 3s

Then I enter amendment date and click review trial 6s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02638" and click on Amend 3s

Then I enter amendment date and click review trial 6s

And I shall be able to click on Print button 1s

Then I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-02627" and click on Amend 2s

Then I enter amendment date and click on submit 11s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02628" and click on Amend 3s

Then I verify Regulatory Information section is optional 8s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02628" and click on Amend 3s

Then I verify FDA Regulated Intervention Indicator field is optional 9s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02628" and click on Amend 3s

Then I verify Section 801 Indicator field is optional 11s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02628" and click on Amend 3s

Then I navigate to Regulatory Information section 3s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02628" and click on Amend 2s

Then I enter amendment date and click review trial 7s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02628" and click on Amend 4s

Then I enter amendment date and click review trial 8s

And I shall be able to click on Print button 1s

Then I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02629" and click on Amend 2s

Then I enter amendment date and click on submit 13s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I enter all details and click submit trial 24s

And I Connect to database to verify an email is sent 0s

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-02620" and click on Amend 2s

Then I enter amendment date and click on submit 11s

And I connect to the database to verify an email is sent 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02625" 2s

Then I click on select action 0s

And I verify view xml is listed 1s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I enter all the details and click review trial 30s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I enter all the details and click submit trial 27s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I populate all required fields 28s

And I save the "National" trial as draft 1s

Then I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 3s

When I navigate to a new National trial screen 0s

Then I enter all the details and click review trial 24s

And I shall be able to click on Print button 1s

Then I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I enter all the details except "FDA Regulated Intervention" field in Reg Info section 27s

And I verify the validation message "Error Message: FDA Regulated Intervention Indicator is required field." is removed 7s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 1s

Then I enter all the details except "Section801 Indicator" field in Reg Info section 28s

And I verify the validation message "Error Message: Section 801 is required if FDA Regulated indicator is true." is removed 7s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I enter all the details and click review trial 24s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 1s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I enter all the details and click submit trial 29s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I populate all required fields 25s

And I save the "National" trial as draft 3s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I enter all the details and click review trial 26s

And I shall be able to click on Print button 1s

Then I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 3s

Then I verify Sponsor/Responsible Party section is optional in Update Trial page 7s

And I verify Sponsor field is optional 6s

And I verify Responsible Party field is optional 6s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 2s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present on update page 1s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 3s

Then I update the fields and click on review trial 0s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 0s

When I search for a trial "NCI-2017-02630" and click on update 3s

Then I update the fields and click on review trial 1s

And I verify Sponsor field is optional in Update Trial(Review) page 9s

And I verify Responsible Party field is optional 6s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 1s

Then I update the fields and click on review trial 2s

And I shall be able to click on Print button 1s

Then I verify Sponsor field is optional in Update Trial(Print) page 6s

And I verify Responsible Party field is optional 6s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 1s

Then I update the fields and click on review trial 2s

And I shall be able to click on Print button 1s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 2s

Then I update the fields and click on submit 3s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 2s

Then I verify Regulatory Information section is optional 6s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 3s

Then I verify FDA Regulated Intervention Indicator field is optional 6s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 3s

Then I verify Section 801 Indicator field is optional 6s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 1s

And I verify in update page a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 1s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 2s

Then I update the fields and click on review trial 2s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 3s

Then I update the fields and click on submit 2s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02630" and click on update 2s

Then I update the fields and click on review trial 1s

And I shall be able to click on Print button 1s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02631" and click on Amend 2s

Then I verify Sponsor/Responsible Party section is optional in amendment Trial page 8s

And I verify Sponsor field is optional 6s

And I verify Responsible Party field is optional 6s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02631" and click on Amend 1s

Then I enter null in sponsor field 5s

And I verify the validation error message "Responsible Party is required" is removed 8s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02631" and click on Amend 2s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 3s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02631" and click on Amend 1s

Then I enter amendment date and click review trial 4s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02631" and click on Amend 1s

Then I enter amendment date and click review trial 4s

And I shall be able to click on Print button 1s

Then I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02632" and click on Amend 1s

Then I enter amendment date and click on submit 12s

And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02633" and click on Amend 2s

Then I verify Regulatory Information section is optional 9s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02633" and click on Amend 2s

Then I verify FDA Regulated Intervention Indicator field is optional 8s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02633" and click on Amend 2s

Then I verify Section 801 Indicator field is optional 9s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02633" and click on Amend 2s

Then I navigate to Regulatory Information section 3s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02633" and click on Amend 1s

Then I enter amendment date and click review trial 4s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 1s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02633" and click on Amend 1s

Then I enter amendment date and click review trial 5s

And I shall be able to click on Print button 1s

Then I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02634" and click on Amend 1s

Then I enter amendment date and click on submit 9s

And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-00388" and click on update 2s

Then I verify Sponsor/Responsible Party section is present 1s

And I verify Regulatory Information section is present 0s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-00388" and click on Amend 2s

Then I verify Sponsor/Responsible Party section is present 3s

And I verify Regulatory Information section is present 0s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I populate all the required fields 14s + Show Error

Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/registry_reg_info.rb:73:in `/^I enter all the required fields$/'
./features/step_definitions/registry_reg_info.rb:106:in `/^I populate all the required fields$/'
features/registry/ui/ct.gov_xml_req.feature:626:in `Then I populate all the required fields'

And I click on review trial

When I click on submit trial

Then I verify trial is created succesfully and generates an nci ID

When I login into CTRP(PA) and search for a trial with generated nci ID

Then I navigate to Trial Validation page and click reject

Then I verify the trial is rejected successfully

Given I login into CTRP and search with NCI ID "NCI-2017-02660" 24s

Then I navigate to "Trial Milestones" link 1s

And I add 'Trial Summary Report Date' milestone 3s

Then I connect to database and verify an email is sent 0s

Given I login into CTRP Registry 14s

When I search for a trial "NCI-2017-00388" 2s

Then I click on select action 0s

And I verify view xml is listed 0s

Given I login into CTRP Registry 1s

And I click on Add Organization from 0s

Then For add Org, It should give message 10s

Given I login into CTRP Registry 1s

And I search for Trial with NCI ID "NCI-2017-00389" 1s

And I select to Amend the Trial 0s

And I click on Add Organization from amendment 0s

Then For add Org, It should give message 10s

This feature scenarios validates the accrual count and cut-off date by accrual service

Given service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=1" and cutoff date value "&cutOffDt=03-11-2016" 6s

Given service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=2" and cutoff date value "&cutOffDt=03-11-2016" 6s

Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=9" and cutoff date value "&cutOffDt=03-11-2016" 1s

Then accrual count and cutoff-date matching the query "9" and "03-11-2016" are returned from the database 0s

Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=1" and cutoff date value "&cutOffDt=03-10-2009" 1s

Then accrual count and cutoff-date matching the query "1" and "03-10-2009" are returned from the database 0s

Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=6" and cutoff date value "&cutOffDt=03-10-2012" 1s

Then the cutoff-date matching the query "6" and "03-10-2012" are returned from the database 0s

Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=10" and cutoff date value "&cutOffDt=03-10-2015" 1s

Then accrual count and cutoff-date matching the query "10" and "03-10-2015" are returned from the database 0s

Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=8" and cutoff date value "&cutOffDt=03-10-2014" 1s

Then accrual count and cutoff-date matching the query "8" and "03-10-2014" are returned from the database 0s

Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=7" and cutoff date value "&cutOffDt=03-10-2013" 1s + Show Error

Expected Response code: 200 but got 500.
("500")("US-ASCII") expected but was
("200")("UTF-8"). (Test::Unit::AssertionFailedError)
./features/step_definitions/accrual_service.rb:42:in `/^the accrual service is called by providing "([^"]*)" and NCI ID "([^"]*)" and "([^"]*)" and accrual count value "([^"]*)" and cutoff date value "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:56:in `Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=7" and cutoff date value "&cutOffDt=03-10-2013"'
features/accrual/backend/accrual_service_test.feature:50:in `Given the accrual service is called by providing "(parameter)" and NCI ID "(nci_id)" and "(site_po_id)" and accrual count value "(accrual_count)" and cutoff date value "(cutoff_date)"'

Then accrual count and cutoff-date matching the query "7" and "03-10-2013" are returned from the database

Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=4" and cutoff date value "&cutOffDt=03-10-2011" 1s

Then accrual count and cutoff-date matching the query "4" and "03-10-2011" are returned from the database 0s

Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=3" and cutoff date value "&cutOffDt=03-10-2010" 1s

Then accrual count and cutoff-date matching the query "3" and "03-10-2010" are returned from the database 0s

Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=2" and cutoff date value "&cutOffDt=03-10-2015" 1s

Then accrual count and cutoff-date matching the query "2" and "03-10-2015" are returned from the database 0s

Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=0" and cutoff date value "&cutOffDt=03-10-2001" 1s

Then accrual count ZERO matching the query "0" returned from the database 0s

Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=10" and cutoff date value "&cutOffDt=05-11-1990" 1s

Then the accrual count matching the query "10" returned from the database 0s + Show Error

expected: "1"
     got: "10"

(compared using eql?)
 (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/accrual_service.rb:109:in `/^the accrual count matching the query "([^"]*)" returned from the database$/'
features/accrual/backend/accrual_service_test.feature:75:in `Then the accrual count matching the query "10" returned from the database'
features/accrual/backend/accrual_service_test.feature:72:in `Then the accrual count matching the query "(matches_accual_count)" returned from the database'

Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=19" and cutoff date value "&cutOffDt=03-12-1998" 1s

Then the accrual count matching the query "19" returned from the database 0s

Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=12" and cutoff date value "&cutOffDt=05-11-1999" 1s

Then the cutoff-date matching the query "05-11-1999" returned from the database 0s

Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=16" and cutoff date value "&cutOffDt=03-12-2016" 1s

Then the cutoff-date matching the query "03-12-2016" returned from the database 0s

Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=4" and cutoff date value "&cutOffDt=03-10-2011" 1s

Then the accrual count and cutoff-date matching the query "4" and "03-10-2011" are returned from the database 0s

Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=3" and cutoff date value "&cutOffDt=03-10-2010" 1s

Then the accrual count and cutoff-date matching the query "3" and "03-10-2010" are returned from the database 0s

Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=2" and cutoff date value "&cutOffDt=03-10-2015" 1s

Then the accrual count and cutoff-date matching the query "2" and "03-10-2015" are returned from the database 0s

Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=1" and cutoff date value "&cutOffDt=03-10-2009" 1s

Then the accrual count and cutoff-date matching the query "1" and "03-10-2009" are returned from the database 0s

Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=0" and cutoff date value "&cutOffDt=03-10-2001" 1s

Then the accrual count ZERO matching the query "0" returned ZERO from the database 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02906',type 'ctep' id 'VN456' and user 'submitter' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site VN456" 0s

And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02906',type 'po' id '7434' and user 'ctrpsubstractor' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 7434" 0s

And I query the database with poid '7434' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02906',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site WQ456" 0s

And I query the database with poid 'WQ456' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02906',type 'po' id '5625' and user 'submitter' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 5625" 0s

And I query the database with poid '5625' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02907',type 'ctep' id 'VN456' and user 'ctrpsubstractor' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site VN456" 0s

And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02907',type 'po' id '7434' and user 'submitter' 1s

And I verify the response code is '200' 0s

And I verify response body is "nil" 0s

And I query the database with poid '7434' and verify the patient records are|are not inserted 1s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02907',type 'ctep' id 'WQ456' and user 'submitter' 1s

And I verify the response code is '200' 0s + Show Error

Verifying "Accrual-service Response Code"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:165:in `/^I verify the response code is '([^"]*)'$/'
features/accrual/backend/accrual_service_test.feature:167:in `And I verify the response code is '200''
features/accrual/backend/accrual_service_test.feature:160:in `And I verify the response code is '(response_code)''

And I verify response body is "nil"

And I query the database with poid 'WQ456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02907',type 'po' id '5625' and user 'ctrpsubstractor' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 5625" 0s + Show Error

Verifying "Accrual-service Response Body"
Expect value is User does not have accrual access to site 5625
Actual value is Cannot open connection | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:168:in `And I verify response body is "User does not have accrual access to site 5625"'
features/accrual/backend/accrual_service_test.feature:161:in `And I verify response body is "(response_body)"'

And I query the database with poid '5625' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02908',type 'ctep' id 'VN456' and user 'submitter' 2s

And I verify the response code is '200' 0s + Show Error

Verifying "Accrual-service Response Code"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:165:in `/^I verify the response code is '([^"]*)'$/'
features/accrual/backend/accrual_service_test.feature:179:in `And I verify the response code is '200''
features/accrual/backend/accrual_service_test.feature:174:in `And I verify the response code is '(response_code)''

And I verify response body is "nil"

And I query the database with poid 'VN456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02908',type 'po' id '7434' and user 'ctrpsubstractor' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 7434" 0s

And I query the database with poid '7434' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02908',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 0s

And I verify the response code is '500' 0s + Show Error

Verifying "Accrual-service Response Code"
Expect value is 500
Actual value is 404 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:165:in `/^I verify the response code is '([^"]*)'$/'
features/accrual/backend/accrual_service_test.feature:181:in `And I verify the response code is '500''
features/accrual/backend/accrual_service_test.feature:174:in `And I verify the response code is '(response_code)''

And I verify response body is "User does not have accrual access to site WQ456"

And I query the database with poid 'WQ456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02908',type 'po' id '5625' and user 'submitter' 1s

And I verify the response code is '200' 0s + Show Error

Verifying "Accrual-service Response Code"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:165:in `/^I verify the response code is '([^"]*)'$/'
features/accrual/backend/accrual_service_test.feature:182:in `And I verify the response code is '200''
features/accrual/backend/accrual_service_test.feature:174:in `And I verify the response code is '(response_code)''

And I verify response body is "nil"

And I query the database with poid '5625' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02909',type 'ctep' id 'VN456' and user 'submitter' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site VN456" 0s

And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02909',type 'po' id '7434' and user 'ctrpsubstractor' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 7434" 0s

And I query the database with poid '7434' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02909',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 57s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site WQ456" 0s + Show Error

Verifying "Accrual-service Response Body"
Expect value is User does not have accrual access to site WQ456
Actual value is java.io.IOException: Channel Channel ID e5dbc4b1 (outbound) of Remoting connection 05fe5087 to CTRP-POBin-IntTest-LB-Frontend-456090712.us-east-1.elb.amazonaws.com/54.210.129.169:31099 has been closed | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:196:in `And I verify response body is "User does not have accrual access to site WQ456"'
features/accrual/backend/accrual_service_test.feature:190:in `And I verify response body is "(response_body)"'

And I query the database with poid 'WQ456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02909',type 'po' id '5625' and user 'submitter' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 5625" 0s

And I query the database with poid '5625' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02910',type 'ctep' id 'VN456' and user 'submitter' 14s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site VN456" 0s + Show Error

Verifying "Accrual-service Response Body"
Expect value is User does not have accrual access to site VN456
Actual value is (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 500 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html) | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:209:in `And I verify response body is "User does not have accrual access to site VN456"'
features/accrual/backend/accrual_service_test.feature:205:in `And I verify response body is "(response_body)"'

And I query the database with poid 'VN456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02910',type 'po' id '7434' and user 'ctrpsubstractor' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 7434" 0s

And I query the database with poid '7434' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02910',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 8s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site WQ456" 0s + Show Error

Verifying "Accrual-service Response Body"
Expect value is User does not have accrual access to site WQ456
Actual value is (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 500 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html) | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:211:in `And I verify response body is "User does not have accrual access to site WQ456"'
features/accrual/backend/accrual_service_test.feature:205:in `And I verify response body is "(response_body)"'

And I query the database with poid 'WQ456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02910',type 'po' id '5625' and user 'submitter' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 5625" 0s

And I query the database with poid '5625' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02911',type 'ctep' id 'VN456' and user 'submitter' 18s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site VN456" 0s + Show Error

Verifying "Accrual-service Response Body"
Expect value is User does not have accrual access to site VN456
Actual value is (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 500 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html) | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:224:in `And I verify response body is "User does not have accrual access to site VN456"'
features/accrual/backend/accrual_service_test.feature:220:in `And I verify response body is "(response_body)"'

And I query the database with poid 'VN456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02911',type 'po' id '7434' and user 'ctrpsubstractor' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 7434" 0s

And I query the database with poid '7434' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02911',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 13s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site WQ456" 0s + Show Error

Verifying "Accrual-service Response Body"
Expect value is User does not have accrual access to site WQ456
Actual value is (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 500 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html) | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:226:in `And I verify response body is "User does not have accrual access to site WQ456"'
features/accrual/backend/accrual_service_test.feature:220:in `And I verify response body is "(response_body)"'

And I query the database with poid 'WQ456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02911',type 'po' id '5625' and user 'submitter' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 5625" 0s

And I query the database with poid '5625' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02912',type 'ctep' id 'VN456' and user 'submitter' 8s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site VN456" 0s + Show Error

Verifying "Accrual-service Response Body"
Expect value is User does not have accrual access to site VN456
Actual value is (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 500 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html) | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:239:in `And I verify response body is "User does not have accrual access to site VN456"'
features/accrual/backend/accrual_service_test.feature:235:in `And I verify response body is "(response_body)"'

And I query the database with poid 'VN456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02912',type 'po' id '7434' and user 'ctrpsubstractor' 29s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 7434" 0s + Show Error

Verifying "Accrual-service Response Body"
Expect value is User does not have accrual access to site 7434
Actual value is java.lang.NullPointerException | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:240:in `And I verify response body is "User does not have accrual access to site 7434"'
features/accrual/backend/accrual_service_test.feature:235:in `And I verify response body is "(response_body)"'

And I query the database with poid '7434' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02912',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 20s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site WQ456" 0s + Show Error

Verifying "Accrual-service Response Body"
Expect value is User does not have accrual access to site WQ456
Actual value is (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 500 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html) | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:241:in `And I verify response body is "User does not have accrual access to site WQ456"'
features/accrual/backend/accrual_service_test.feature:235:in `And I verify response body is "(response_body)"'

And I query the database with poid 'WQ456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02912',type 'po' id '5625' and user 'submitter' 40s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 5625" 0s + Show Error

Verifying "Accrual-service Response Body"
Expect value is User does not have accrual access to site 5625
Actual value is java.lang.NullPointerException | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:242:in `And I verify response body is "User does not have accrual access to site 5625"'
features/accrual/backend/accrual_service_test.feature:235:in `And I verify response body is "(response_body)"'

And I query the database with poid '5625' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02913',type 'ctep' id 'VN456' and user 'submitter' 24s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site VN456" 0s + Show Error

Verifying "Accrual-service Response Body"
Expect value is User does not have accrual access to site VN456
Actual value is (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 500 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html) | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:254:in `And I verify response body is "User does not have accrual access to site VN456"'
features/accrual/backend/accrual_service_test.feature:250:in `And I verify response body is "(response_body)"'

And I query the database with poid 'VN456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02913',type 'po' id '7434' and user 'ctrpsubstractor' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 7434" 0s

And I query the database with poid '7434' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02913',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 48s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site WQ456" 0s + Show Error

Verifying "Accrual-service Response Body"
Expect value is User does not have accrual access to site WQ456
Actual value is (html)(head)(title)JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report(/title)(style)(!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--)(/style) (/head)(body)(h1)JBWEB000065: HTTP Status 500 - (/h1)(HR size="1" noshade="noshade")(p)(b)JBWEB000309: type(/b) JBWEB000067: Status report(/p)(p)(b)JBWEB000068: message(/b) (u)(/u)(/p)(p)(b)JBWEB000069: description(/b) (u)JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.(/u)(/p)(HR size="1" noshade="noshade")(h3)JBoss Web/7.2.2.Final-redhat-1(/h3)(/body)(/html) | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:256:in `And I verify response body is "User does not have accrual access to site WQ456"'
features/accrual/backend/accrual_service_test.feature:250:in `And I verify response body is "(response_body)"'

And I query the database with poid 'WQ456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02913',type 'po' id '5625' and user 'submitter' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 5625" 0s

And I query the database with poid '5625' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02914',type 'ctep' id 'VN456' and user 'submitter' 6s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site VN456" 0s

And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02914',type 'po' id '7434' and user 'ctrpsubstractor' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 7434" 0s

And I query the database with poid '7434' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02914',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 1m 20s

And I verify the response code is '500' 0s + Show Error

Verifying "Accrual-service Response Code"
Expect value is 500
Actual value is 408 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:165:in `/^I verify the response code is '([^"]*)'$/'
features/accrual/backend/accrual_service_test.feature:271:in `And I verify the response code is '500''
features/accrual/backend/accrual_service_test.feature:264:in `And I verify the response code is '500''

And I verify response body is "User does not have accrual access to site WQ456"

And I query the database with poid 'WQ456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02914',type 'po' id '5625' and user 'submitter' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 5625" 0s

And I query the database with poid '5625' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'true' and family accrual submitter as 'true' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02915',type 'ctep' id 'VN456' and user 'submitter' 1m 20s

And I verify the response code is '500' 0s + Show Error

Verifying "Accrual-service Response Code"
Expect value is 500
Actual value is 408 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:165:in `/^I verify the response code is '([^"]*)'$/'
features/accrual/backend/accrual_service_test.feature:285:in `And I verify the response code is '500''
features/accrual/backend/accrual_service_test.feature:280:in `And I verify the response code is '(response_code)''

And I verify response body is "Accrual for CTEP or DCP trials can only be submitted by CTEP or DCP."

And I query the database with poid 'VN456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'true' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02916',type 'po' id '7434' and user 'ctrpsubstractor' 1s

And I verify the response code is '200' 0s

And I verify response body is "nil" 0s

And I query the database with poid '7434' and verify the patient records are|are not inserted 1s

Given I set the role site accrual submitter as 'true' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02916',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 50s

And I verify the response code is '200' 0s + Show Error

Verifying "Accrual-service Response Code"
Expect value is 200
Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:165:in `/^I verify the response code is '([^"]*)'$/'
features/accrual/backend/accrual_service_test.feature:287:in `And I verify the response code is '200''
features/accrual/backend/accrual_service_test.feature:280:in `And I verify the response code is '(response_code)''

And I verify response body is "nil"

And I query the database with poid 'WQ456' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'true' and family accrual submitter as 'true' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02915',type 'po' id '5625' and user 'submitter' 1m 20s

And I verify the response code is '500' 0s + Show Error

Verifying "Accrual-service Response Code"
Expect value is 500
Actual value is 408 | Actual value should equal to expect value, Fail! (RuntimeError)
./features/support/tools/bdd_matcher.rb:120:in `match'
./features/support/tools/bdd_matcher.rb:11:in `eq'
./features/step_definitions/accrual_service.rb:165:in `/^I verify the response code is '([^"]*)'$/'
features/accrual/backend/accrual_service_test.feature:288:in `And I verify the response code is '500''
features/accrual/backend/accrual_service_test.feature:280:in `And I verify the response code is '(response_code)''

And I verify response body is "Accrual for CTEP or DCP trials can only be submitted by CTEP or DCP."

And I query the database with poid '5625' and verify the patient records are|are not inserted

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02917',type 'ctep' id 'VN456' and user 'submitter' 3s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site VN456" 0s

And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02918',type 'po' id '7434' and user 'ctrpsubstractor' 1s

And I verify the response code is '200' 0s

And I verify response body is "nil" 0s

And I query the database with poid '7434' and verify the patient records are|are not inserted 1s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02918',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 1s

And I verify the response code is '200' 0s

And I verify response body is "nil" 0s

And I query the database with poid 'WQ456' and verify the patient records are|are not inserted 1s

Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s

Then I hit the accrual rest service with NCT ID 'NCI-2017-02917',type 'po' id '5625' and user 'submitter' 1s

And I verify the response code is '500' 0s

And I verify response body is "User does not have accrual access to site 5625" 0s

And I query the database with poid '5625' and verify the patient records are|are not inserted 0s

This feature scenarios validates the participating site subject accrual count and cut-off date.
Study site can enrolled sibjects and update the cut-off date for a accrual trial.
In order to add accrual date and cut-off date to the trial, as a user I want to be able to
login to the PA Accrual app and search a trial and update accrual enrolled subject count and cut-off date.

Given Accrual App launch 1s

Given I login into the CTRP Accrual UI app 10s

And the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=0" and cutoff date value "&cutOffDt=01-01-1900" 1s

And I am in the accrual trial search page and I search for a trial with NCI trial identifier 1s

And I know the trial type and status as following: 1s

And I click on the trial link to view the participating site accrual count page 0s

And I ADD the trial subject enrolled accrual count and cut-off date 3s

Then Participating Site Subject Accrual Count page displays record updated message 0s

And I navigate to Batch Upload page 1s

And I am in Participating Site Subject Accrual Count page 3s

Then the Participating Site Subject Accrual Count page Accrual count and Cut-Off date should be Added 1s

Given I login into the CTRP Accrual UI app 1s

And the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=7" and cutoff date value "&cutOffDt=01-01-1901" 1s

And I am in the accrual trial search page and I search for a trial with NCI trial identifier 1s

And following table columns displays in the search result page 0s

And I know the trial type and status as following: 1s

And I click on the trial link to view the participating site accrual count page 1s

And I ADD the trial subject enrolled accrual count and cut-off date 2s

And I navigate to Batch Upload page 0s

And I am in Participating Site Subject Accrual Count page 2s

Then I UPDATED the trial subject enrolled accrual count and cut-off date 5s

And Participating Site Subject Accrual Count page displays record updated message 0s

Then the Participating Site Subject Accrual Count page Accrual count and Cut-Off date should be updated 0s

Given I click to view xml of "NCI-2017-00384" 16s

Then the field "oversight_info.fda_regulated_drug = Yes" should be there 0s

Given I click to view xml of "NCI-2017-00387" 21s

Then the field "oversight_info.fda_regulated_drug = No" should be there 0s

Given I click to view xml of "NCI-2017-00390" 22s

Then the field "oversight_info.fda_regulated_drug" should not be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "oversight_info.fda_regulated_device = No" should be there 0s

Given I click to view xml of "NCI-2017-00390" 0s

Then the field "oversight_info.fda_regulated_device" should not be there 0s

Given I click to view xml of "NCI-2017-00384" 0s

Then the field "oversight_info.post_prior_to_approval = Yes" should be there 0s

Given I click to view xml of "NCI-2017-00381" 20s

Then the field "oversight_info.post_prior_to_approval = No" should be there 0s

Given I click to view xml of "NCI-2017-00385" 21s

Then the field "oversight_info.post_prior_to_approval" should not be there 0s

Given I click to view xml of "NCI-2017-00384" 0s

Then the field "oversight_info.ped_postmarket_surv = Yes" should be there 0s

Given I click to view xml of "NCI-2017-00389" 21s

Then the field "oversight_info.ped_postmarket_surv" should not be there 0s

Given I click to view xml of "NCI-2017-00384" 0s

Then the field "oversight_info.exported_from_us = Yes" should be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "oversight_info.exported_from_us = No" should be there 0s

Given I click to view xml of "NCI-2017-00390" 0s

Then the field "oversight_info.exported_from_us" should not be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "study_design.interventional_design.model_description" should not be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "study_design.interventional_design.masking_description" should not be there 0s

Given I click to view xml of "NCI-2017-00384" 0s

Then the field "Eligibility.gender_based = Yes" should be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "Eligibility.gender_based = No" should be there 0s

Given I click to view xml of "NCI-2017-00391" 22s

Then the field "Eligibility.gender_based" should not be there 0s

Given I click to view xml of "NCI-2017-00384" 0s

Then the field "Eligibility.gender_description" should be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "Eligibility.gender_description" should not be there 0s

Given I click to view xml of "NCI-2017-00384" 0s

Then the field "ind_info.expanded_access_nct_id" should be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "ind_info.expanded_access_nct_id" should not be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "oversight_info.regulatory_authority" should not be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "study_design.endpoint" should not be there 0s

Given I click to view xml of "NCI-2017-00391" 0s

Then the field "primary_outcome.outcome_safety_issue" should not be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "study_design.interventional_design.masking" should not be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the new value as "Device Feasibility" should be there in "study_design.interventional_design.interventional_subtype" 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the new value as "Sequential Assignment" should be there in "study_design.interventional_design.assignment" 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "start_date_type" should be populated 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "start_date" should be populated 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "primary_compl_date" should be populated 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "primary_compl_date_type" should be populated 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "completion_date" should be populated 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "completion_date_type" should be populated 0s

Given I click to view xml of "NCI-2017-00384" 0s

Then the field "delayed_posting = Yes" should be there 0s

Given I click to view xml of "NCI-2017-00391" 0s

Then the field "delayed_posting = No" should be there 0s

Given I click to view xml of "NCI-2017-00389" 0s

Then the field "delayed_posting = No" should be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the new value as "Early Phase I" should be there in "phase" 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "study_design.interventional_design.no_masking" with "Yes" should be there 0s

Given I click to view xml of "NCI-2017-00384" 0s

Then the field "study_design.interventional_design.no_masking" with "No" should be there 0s

Given I click to view xml of "NCI-2017-00384" 0s

Then the field "eligibility.gender" with "Female" should be there 0s

Given I click to view xml of "NCI-2017-00391" 0s

Then the field "eligibility.gender" with "All" should be there 0s

Given I click to view xml of "NCI-2017-00384" 0s

Then the field "indinfo.has_expanded_access" with "Yes" should be there 0s

Given I click to view xml of "NCI-2017-00391" 0s

Then the field "indinfo.has_expanded_access" with "No" should be there 0s

Given I click to view xml of "NCI-2017-00387" 0s

Then the field "indinfo.has_expanded_access" with "Unknown" should be there 0s

Given I click to view xml of "NCI-2017-00390" 0s

Then the field "indinfo.has_expanded_access" should not be there 0s

Given I click to view xml of "NCI-2017-00391" 0s

Then the field "expanded_access_status" should not be there 0s

then display the IND_IDE values and display is_ind_study as TRUE
JIRA tracker CTRPMICRO-470

Given In DB exempt_indicator is set to "True" with IND_IDE values for trial ID "NCI-2017-00391" 0s

And I click to view xml of "NCI-2017-00391" again 20s

Then the field "is_ind_study" with "Yes" should be there 0s

And the field "indinfo.ind_grantor" with "CDER" should be there 0s

And the field "indinfo.ind_number" with "68568" should be there 0s

And the field "indinfo.has_expanded_access" with "No" should be there 0s

And the field "ind_info.expanded_access_nct_id" should not be there 0s

then display the IND_IDE values and display is_ind_study as TRUE
JIRA tracker CTRPMICRO-470

Given In DB exempt_indicator is set to "False" with IND_IDE values for trial ID "NCI-2017-00391" 0s

And I click to view xml of "NCI-2017-00391" again 25s

Then the field "is_ind_study" with "Yes" should be there 0s

And the field "indinfo.ind_grantor" with "CDER" should be there 0s

And the field "indinfo.ind_number" with "68568" should be there 0s

And the field "indinfo.has_expanded_access" with "No" should be there 0s

And the field "ind_info.expanded_access_nct_id" should not be there 0s

then display the IND_IDE values and display is_ind_study as TRUE
JIRA tracker CTRPMICRO-470

Given In DB exempt_indicator is set to "True" with IND_IDE values for trial ID "NCI-2017-00387" 0s

And I click to view xml of "NCI-2017-00387" again 25s

Then the field "is_ind_study" with "Yes" should be there 0s

And the field "indinfo.ind_grantor" with "CDER" should be there 0s

And the field "indinfo.ind_number" with "7686" should be there 0s

And the field "indinfo.has_expanded_access" with "Unknown" should be there 0s

Then the field "ind_info.expanded_access_nct_id" should not be there 0s

then display the IND_IDE values and display is_ind_study as TRUE
JIRA tracker CTRPMICRO-470

Given In DB exempt_indicator is set to "False" with IND_IDE values for trial ID "NCI-2017-00387" 0s

And I click to view xml of "NCI-2017-00387" again 23s

Then the field "is_ind_study" with "Yes" should be there 0s

And the field "indinfo.ind_grantor" with "CDER" should be there 0s

And the field "indinfo.ind_number" with "7686" should be there 0s

And the field "indinfo.has_expanded_access" with "Unknown" should be there 0s

And the field "ind_info.expanded_access_nct_id" should not be there 0s

then display the IND_IDE values and display is_ind_study as TRUE
JIRA tracker CTRPMICRO-470

Given In DB exempt_indicator is set to "True" with IND_IDE values for trial ID "NCI-2017-00390" 0s

And I click to view xml of "NCI-2017-00390" again 29s

Then the field "is_ind_study" with "Yes" should be there 0s

And the field "indinfo.ind_grantor" with "CBER" should be there 0s

And the field "indinfo.ind_number" with "2222" should be there 0s

And the field "ind_info.expanded_access_nct_id" should not be there 0s

then display the IND_IDE values and display is_ind_study as TRUE
JIRA tracker CTRPMICRO-470

Given In DB exempt_indicator is set to "False" with IND_IDE values for trial ID "NCI-2017-00390" 0s

And I click to view xml of "NCI-2017-00390" again 26s

Then the field "is_ind_study" with "Yes" should be there 0s

And the field "indinfo.ind_grantor" with "CBER" should be there 0s

And the field "indinfo.ind_number" with "2222" should be there 0s

And the field "indinfo.has_expanded_access" should not be there 0s

And the field "ind_info.expanded_access_nct_id" should not be there 0s

Given I click to view xml of "NCI-2017-02650" again 23s

Then the field "is_ind_study" with "Yes" should be there 0s

And the field "indinfo.ind_grantor" with "CDER" should be there 0s

And the field "indinfo.ind_number" with "00007" should be there 0s

And the field "indinfo.has_expanded_access" with "Unknown" should be there 0s

And the field "ind_info.expanded_access_nct_id" should not be there 0s

And it shall display only one ind information 0s

Given I click to view xml of "NCI-2017-00381" from PA app 46s

Then the field "is_ind_study" with "Yes" should be there 0s

And the field "indinfo.ind_grantor" with "CDER" should be there 0s

And the field "indinfo.ind_number" with "111111" should be there 0s

And the field "indinfo.has_expanded_access" with "Yes" should be there 0s

And the field "ind_info.expanded_access_nct_id" should not be there 0s

And it shall display only one ind information 0s

Then I delete the Top IND information 39s

And I click to view xml of "NCI-2017-00381" from PA app 22s + Show Error

Unable to locate element: {"method":"xpath","selector":"//span[contains(text(),'View XML')]"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180509-20790-o0z8jj/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180509-20790-o0z8jj/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/abstraction_validation.rb:19:in `view_xml_xpath'
./features/support/export/export_helper.rb:21:in `export_from_pa'
./features/support/ctrp_export.rb:719:in `/^I click to view xml of "([^"]*)" from PA app$/'
features/export/ui/ctrp_export.feature:432:in `And I click to view xml of "NCI-2017-00381" from PA app'

Then the field "is_ind_study" with "Yes" should be there

And the field "indinfo.ind_grantor" with "CDRH" should be there

And the field "indinfo.ind_number" with "222222" should be there

And the field "indinfo.has_expanded_access" with "Yes" should be there

And the field "ind_info.expanded_access_nct_id" should not be there

And it shall display only one ind information

Given I connect to "PA" ftp server 0s

Then ftp file "integration/clinical.txt" was generated within past 86400 seconds 2m 8s + Show Error

Connection timed out - connect(2) for "129.43.254.242" port 50735 (Errno::ETIMEDOUT)
./features/support/tools/ftp_helper.rb:21:in `file_exist?'
./features/step_definitions/ct_gov_ftp.rb:16:in `/^ftp file "([^"]*)" was generated within past (\d+) seconds$/'
features/pa/nightly_jobs/ct_gov_ftp.feature:7:in `Then ftp file "integration/clinical.txt" was generated within past 86400 seconds'

And ftp file "integration/clinical.txt" should be a valid xml

Given I connect to "PA" ftp server 0s

When I save ftp file "integration/clinical.txt" as tmp file "CTFTP_02.xml" 2m 8s + Show Error

Connection timed out - connect(2) for "129.43.254.242" port 30640 (Errno::ETIMEDOUT)
./features/support/tools/ftp_helper.rb:21:in `file_exist?'
./features/step_definitions/ct_gov_ftp.rb:31:in `/^I save ftp file "([^"]*)" as tmp file "([^"]*)"$/'
features/pa/nightly_jobs/ct_gov_ftp.feature:13:in `When I save ftp file "integration/clinical.txt" as tmp file "CTFTP_02.xml"'

Then tmp file "CTFTP_02.xml" should only have trials with these NCI ids

Given I login into CTRP 2s

When I click on Search "Trials" link 3s

Then I verify XML required field is removed 6s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 5s

When I click on "Trial Identification" link 7s

Then I verify ct.gov XML required field is removed 6s

Given I login into CTRP and search with NCI ID "NCI-2017-00388" 3s

When I click on "Trial Identification" link 6s

Then I verify ct.gov XML required field is removed 6s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 7s

When I click on "Regulatory Information" link 8s

Then I verify all these fields are optional 8s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 4s

When I click on "Regulatory Information" link 8s

And I fill all fields except FDA Regulated Intervention Indicator field and save 7s

Then I verify error message "FDA Regulated Intervention Indicator is required field" is removed 6s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 7s

When I click on "Regulatory Information" link 8s

And I fill all fields except Section 801 Indicator field and save 4s

Then I verify error message "The Section801 Indicator cannot be empty" is removed 6s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 6s

When I click on "General Trial Details" link 9s

Then I navigate to Sponsor/Responsible party section 0s

And I verify the note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov 0s

Given I login into CTRP and search with NCI ID "NCI-2017-00388" 7s

When I click on "General Trial Details" link 6s

Then I navigate to Sponsor/Responsible party section 0s

And I verify the note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 8s

When I click on "Regulatory Information" link 4s

Then I verify the note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 7s

When I click on "General Trial Details" link 8s

Then I verify ClinicalTrails.gov XML required field is removed 0s

Given I login into CTRP and search with NCI ID "NCI-2017-00388" 6s

When I click on "General Trial Details" link 9s

Then I verify ClinicalTrails.gov XML required field is removed 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 7s

When I click on "General Trial Details" link 6s

Then I verify Sponsor/Responsible party section is displayed 0s

Given I login into CTRP and search with NCI ID "NCI-2017-00388" 6s

When I click on "General Trial Details" link 9s

Then I verify Sponsor/Responsible party section is displayed 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 6s

When I click on "General Trial Details" link 9s

Then I verify Sponsor field required validation is removed 10s

Given I login into CTRP and search with NCI ID "NCI-2017-00388" 6s

When I click on "General Trial Details" link 9s

Then I verify Sponsor field required validation is removed 9s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 11s

When I click on "General Trial Details" link 3s

Then I verify Responsible Party field required validation is removed 12s

Given I login into CTRP and search with NCI ID "NCI-2017-00388" 7s

When I click on "General Trial Details" link 8s

Then I verify Responsible Party field required validation is removed 10s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 7s

When I click on "General Trial Details" link 6s

Then I select 'Principal Investigator' in responsible Party field 1s

Then I verify these fields with required validations are present 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 6s

When I click on "General Trial Details" link 7s

Then I select 'Sponsor-Investigator' in responsible Party field 1s

And I verify these fields with required validations are present 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 6s

When I click on "General Trial Details" link 7s

Then I select 'Sponsor' in responsible Party field 1s

And I verify these fields are not displayed 1s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 6s

Then I click on "Trial Validation" link 6s

And I verify ClinicalTrails.gov XML required field is removed 0s

Then I connect to database and verify the xml required field is Yes for generated NCI ID 0s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 6s

Then I click on "Trial Validation" link 9s

And I verify Responsible Party field required validation is removed 11s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 5s

Then I click on "Trial Validation" link 9s

Then I select 'Principal Investigator' in responsible Party field 1s

And I verify these fields with required validations are present 0s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 6s

Then I click on "Trial Validation" link 7s

Then I select 'Sponsor-Investigator' in responsible Party field 1s

And I verify these fields with required validations are present 0s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 6s

Then I click on "Trial Validation" link 9s

Then I select 'Sponsor' in responsible Party field 0s

And I verify these fields are not displayed 0s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 6s

Then I click on "Trial Validation" link 7s

And I navigate to Sponsor/Responsible party section 0s

Then I verify the note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov 0s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 5s

Then I click on "Trial Validation" link 8s

When I add a sponsor 4s

And I verify delete button is displayed 0s

When I click on delete 0s

Then I verify the sponsor is deleted 6s

And I connect to the database and verify the sponsor field value is null 1s

And I verify the xml required field is Yes for generated NCI ID 0s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 4s

Then I click on "Trial Validation" link 8s

And I enter Responsible party field as sponsor 0s

When I delete sponsor field 8s

Then I verify validation message "Please change Responsible Party from Sponsor/Sponsor-Investigatior before deleting Sponsor." is displayed 0s

When I enter Responsible party field as sponsor-Investigator 4s

Then I delete sponsor field 5s

And I verify validation message "Please change Responsible Party from Sponsor/Sponsor-Investigatior before deleting Sponsor." is displayed 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 10s

When I click on "General Trial Details" link 2s

Then I enter Responsible party field as sponsor 0s

And I delete sponsor field 5s

Then I verify validation message "Please change Responsible Party from Sponsor/Sponsor-Investigatior before deleting Sponsor." is displayed 0s

When I enter Responsible party field as sponsor-Investigator 1s

Then I delete sponsor field 6s

And I verify validation message "Please change Responsible Party from Sponsor/Sponsor-Investigatior before deleting Sponsor." is displayed 0s

Given I login into CTRP and search with NCI ID "NCI-2017-00388" 6s

When I click on "General Trial Details" link 8s

Then I enter Responsible party field as sponsor 1s

And I delete sponsor field 5s

Then I verify validation message "Please change Responsible Party from Sponsor/Sponsor-Investigatior before deleting Sponsor." is displayed 0s

When I enter Responsible party field as sponsor-Investigator 1s

Then I delete sponsor field 5s

And I verify validation message "Please change Responsible Party from Sponsor/Sponsor-Investigatior before deleting Sponsor." is displayed 0s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 5s

Then I click on "Trial Validation" link 7s

And I enter sponsor field as null 1s

When I enter Responsible party field as sponsor and save 2s

Then I verify validation message "Sponsor must be entered" is displayed 0s

And I enter Responsible party field as sponsor-Investigator 0s

Then I verify validation message "Please select a Sponsor." is displayed 0s

Given I login into CTRP and search with NCI ID "NCI-2017-02641" 5s

When I click on "General Trial Details" link 6s

Then I enter sponsor field as null 1s

When I enter Responsible party field as sponsor and save 5s

Then I verify validation message "Sponsor must be entered" is displayed 0s

And I enter Responsible party field as sponsor-Investigator 0s

Then I verify validation message "Please select a Sponsor." is displayed 0s

Given I login into CTRP and search with NCI ID "NCI-2017-00388" 5s

When I click on "General Trial Details" link 7s

Then I enter sponsor field as null 0s

When I enter Responsible party field as sponsor and save 2s

Then I verify validation message "Sponsor must be entered" is displayed 0s

And I enter Responsible party field as sponsor-Investigator 1s

Then I verify validation message "Please select a Sponsor." is displayed 0s

Given I run the rest service to generate new NCI ID 2s

When I login into CTRP and search for a trial with generated NCI ID 6s

Then I click on "Trial Validation" link 4s

And I enter sponsor field as null 0s

When I enter Responsible party field as sponsor and save 4s

Then I verify validation message "Sponsor must be entered" is displayed 0s

And I enter Responsible party field as sponsor-Investigator and click save 2s

Then I verify validation message "Sponsor must be entered" is displayed 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02762" 5s

Then I click on "Data Table 4 Anatomic Site" link 1s

And I click on add 1s

Then I select an item say "Anus" and click save 2s

And I connect to database and verify anatomic site is saved successfully 0s

Given I login into CTRP 1s

Then I navigate to "Super Abstractor" page 10s

And I Select submission type as "Amendment" 4s

And I select a trial between submitted date range "09/25/2017" to "09/26/2017" 6s + Show Error

Unable to locate element: {"method":"xpath","selector":"//th[@class='filter lastCreated.dateLastCreated sortable']//i"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180509-20790-o0z8jj/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180509-20790-o0z8jj/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/super_abstractor.rb:37:in `select_date_range_submitted_on'
./features/step_definitions/super_abstraction.rb:8:in `/^I select a trial between submitted date range "([^"]*)" to "([^"]*)"$/'
features/pa/ui/super_abstractor.feature:10:in `And I select a trial between submitted date range "09/25/2017" to "09/26/2017"'

And I edit the expected super abstracted date

Then I click on NCI Trial identifier "2017-02869"

And I navigate to "Trial Milestones" page

Then I add all the respective milestones

And I amend the trial using restservice

Then I navigate to "Super Abstractor" page

And I Select submission type as "Amendment"

And I verify the expected super abstracted date is reset to submission plus ten business days date of that trial

Given I Add Participating Site with no Investigator CTRP using RESTful service for NCI ID "NCI-2017-02693" 0s

Then I verify the response status of rest service is code '400' 0s

Given I Add Participating Site with two primary contact with investigator using RESTful service for NCI ID "NCI-2017-02665" 0s

Then I verify the response status of rest service is code '400' 0s

Given I Add Participating Site with investigator as false for integration_ps_false_pc_ind using RESTful service for NCI ID "NCI-2017-02748" 1s

Then I verify the response status of rest service is '200' 0s

And the rest service should generate an CTRP idenifier 0s

Then I GET the Participating Site for NCI ID "NCI-2017-02748" 0s

And I verify the values with the original payload for Participating Site for integration_ps_false_pc_ind 0s

- Search Trial -> Add Participating Site
- Import new Trial -> Add Participating Site
- Register Trial menu-> Add Participating Site

Given I login into CTRP Registry 1s

And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02920" 6s

Then It shall give Add Participating Site screen with trial information 0s

And I select "Novartis Pharmaceuticals" from the list 0s

Then It shall give the fields to add and Save the Participating Site with "Primary, New Phone, New Email" Contact 16s

And Participating Site should be successfully saved 2s

Given I login into CTRP Registry 2s

And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02922" 8s

Then It shall give Add Participating Site screen with trial information 0s

And I select "Novartis Pharmaceuticals" from the list 0s

Then It shall give the fields to add and Save the Participating Site with "Generic, New Phone, New Email" Contact 24s

And Participating Site should be successfully saved 3s

Given I login into CTRP Registry 2s

And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02923" 9s

Then It shall give Add Participating Site screen with trial information 0s

And I select "Novartis Pharmaceuticals" from the list 1s

Then It shall give the fields to add and Save the Participating Site with "New Generic" Contact 22s

And Participating Site should be successfully saved 3s

Given I login into CTRP Registry 2s

And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02930" 8s

And I select "Novartis Pharmaceuticals" from the list 0s

Then I validate the Email format 12s

And I validate the Phone format 7s

Given I login into CTRP Registry 20s

And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02924" 9s

And I select "Novartis Pharmaceuticals" from the list 0s

Then I validate the required fields 5s

And I fill all the required field and Save the Participating Site with "Primary" Contact and "Phone" 20s

Then Participating Site should be successfully saved 3s

Given I login into CTRP Registry 2s

And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02925" 10s

And I select "Novartis Pharmaceuticals" from the list 0s

And I fill all the required field and Save the Participating Site with "Generic" Contact and "Phone" 18s

Then Participating Site should be successfully saved 2s

Given I login into CTRP Registry 4s

And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02926" 5s

And I select "Novartis Pharmaceuticals" from the list 0s

And I fill all the required field and Save the Participating Site with "Primary" Contact and "Email" 21s

Then Participating Site should be successfully saved 3s

Given I login into CTRP Registry 2s

And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02927" 8s

And I select "Novartis Pharmaceuticals" from the list 0s

And I fill all the required field and Save the Participating Site with "Generic" Contact and "Email" 22s

Then Participating Site should be successfully saved 3s

Given I login into CTRP Registry 2s

And I click to Update Participating Site from search result for abbreviated trial "NCI-2017-02929" 9s

Then It shall give Update Participating Site screen with trial information 1s

Then I update the fields and Save the Participating Site with "Generic" Contact 13s

And Participating Site should be successfully saved 3s

Given I login into CTRP Registry 2s

Then I select to import a trial with NCT ID "NCT03332316" 12s

And I click to Add Participating Site 0s

Then It shall give Add Participating Site screen with trial information 3s

And I select "Novartis Pharmaceuticals" from the list 0s

And Generic Contact to add is "test_generic_contact" with phone "222-555-9999" and email "t@ts.com" 0s

Then It shall give the fields to add and Save the Participating Site with "Generic" Contact 15s

And Participating Site should be successfully saved 2s

Given I login into CTRP Registry 1s

Then I select to import a trial with NCT ID "NCT03342118" 12s

And I click to Add Participating Site 0s

And I select "Novartis Pharmaceuticals" from the list 2s

Then I fill the form with Invalid Phone Contact 14s

Then It shall not save the Participating site 4s

Given I login into CTRP Registry 17s

And From Add Sites, I searched for trial id "NCI-2017-02920" to add site 12s

Then It shall give Add site screen with trial information 5s

And I fill the form and save the Participating Site with "Primary" Contact 15s

Then Participating Site from Add Sites should be successfully saved 2s

Given I login into CTRP Registry 1s

And From Add Sites, I searched for trial id "NCI-2017-02952" to add site 8s

Then It shall give Add site screen with trial information 8s

And I fill the form and save the Participating Site with "Primary, New Phone, New Email" Contact 18s

Then Participating Site from Add Sites should be successfully saved 4s

Given I login into CTRP Registry 2s

And From Add Sites, I searched for trial id "NCI-2017-02923" to add site 7s

Then It shall give Add site screen with trial information 5s

And I fill the form and save the Participating Site with "New Generic" Contact 21s

Then Participating Site from Add Sites should be successfully saved 4s

Given I login into CTRP Registry 2s

And From Add Sites, I searched for trial id "NCI-2017-02867" to add site 9s

Then I validate the Email format from Add Sites 21s

And I validate the Phone format from Add Sites 18s

Given I login into CTRP Registry 3s

And From Add Sites, I searched for trial id "NCI-2017-02922" to add site 5s

Then It shall give Add site screen with trial information 6s

And I fill the form and save the Participating Site with "Generic, New Phone, New Email" Contact 17s

Then Participating Site from Add Sites should be successfully saved 4s

Given I login into CTRP Registry 2s

And From Add Sites, I searched for trial id "NCI-2017-02924" to add site 6s

And I fill all the field and Save the Participating Site with "Primary" Contact and "Phone" 18s

Then Participating Site from Add Sites should be successfully saved 6s

Given I login into CTRP Registry 1s

And From Add Sites, I searched for trial id "NCI-2017-02925" to add site 6s

And I fill all the field and Save the Participating Site with "Generic" Contact and "Phone" 13s

Then Participating Site from Add Sites should be successfully saved 3s

Given I login into CTRP Registry 1s

And From Add Sites, I searched for trial id "NCI-2017-02926" to add site 8s

And I fill all the field and Save the Participating Site with "Primary" Contact and "Email" 12s

Then Participating Site from Add Sites should be successfully saved 4s

Given I login into CTRP Registry 1s

And From Add Sites, I searched for trial id "NCI-2017-02927" to add site 10s

And I fill all the field and Save the Participating Site with "Generic" Contact and "Email" 15s

Then Participating Site from Add Sites should be successfully saved 6s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 30s

Then I navigate to Regulatory Information screen 6s

And I fill all details and click save in Regulatory Information Screen 10s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 17s

And I search for a trial "NCI-2017-02625" and click on update 6s

Then I verify regulatory information field values are displayed in update trial page as in PA 9s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 30s

Then I navigate to Regulatory Information screen 7s

And I fill all details and click save in Regulatory Information Screen 5s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 15s

And I search for a trial "NCI-2017-02625" and click on update 5s

Then I verify regulatory information field values are displayed in submit trial page as in PA 16s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 35s

Then I navigate to Regulatory Information screen 4s

And I fill all details and click save in Regulatory Information Screen 6s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

And I search for a trial "NCI-2017-02625" and click on update 4s

Then I verify regulatory information field values are displayed in registry print page as in PA 13s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 29s

Then I navigate to Regulatory Information screen 3s

And I fill all details and click save in Regulatory Information Screen 3s

Then I verify confirm message "Message. Record Updated." is displayed 4s

Given I login into CTRP Registry 15s

And I search for a trial "NCI-2017-02625" and click on update 4s

Then I verify regulatory information data is displayed 4s

And I verify the regulatory information data in review trial details screen 8s

Then I shall be able to review the trial and submit an update 8s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 28s

Then I navigate to Regulatory Information screen 5s

And I fill all details and click save in Regulatory Information Screen 3s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 15s

Then I search for a trial "NCI-2017-02625" and click on update 5s

And I verify regulatory information data is displayed 4s

Then I shall be able to click on Cancel button in update trial screen 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 27s

Then I navigate to Regulatory Information screen 5s

And I fill all details and click save in Regulatory Information Screen 3s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

Then I search for a trial "NCI-2017-02625" and click on update 6s

And I verify regulatory information data is displayed 4s

Then I shall be able to click on Edit button in review trial details screen 17s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 27s

Then I navigate to Regulatory Information screen 6s

And I fill all details as No and click save in Regulatory Information Screen 5s

Then I verify confirm message "Message. Record Updated." is displayed 5s

When I login into CTRP Registry 16s

And I search for a trial "NCI-2017-02625" and click on update 3s

Then I verify regulatory information fields are displayed in update trial page as in PA 27s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 27s

Then I navigate to Regulatory Information screen 4s

And I fill all details as No and click on save in Regulatory Information Screen 2s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

And I search for a trial "NCI-2017-02625" and click on update 4s

Then I verify regulatory information fields are displayed in review trial page as in PA 29s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 27s

Then I navigate to Regulatory Information screen 2s

And I fill all details as No and click on save in Regulatory Information Screen 2s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 15s

And I search for a trial "NCI-2017-02625" and click on update 3s

Then I verify regulatory information fields are displayed in submit trial page as in PA 31s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 23s

Then I navigate to Regulatory Information screen 3s

And I fill all details as No and click on save in Regulatory Information Screen 2s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

And I search for a trial "NCI-2017-02625" and click on update 3s

Then I verify regulatory information fields are displayed in registry print page as in PA 28s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 24s

Then I navigate to Regulatory Information screen 1s

And I select Studies a U.S. FDA-regulated Device Product field as Yes and save 2s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 15s

And I search for a trial "NCI-2017-02625" and click on update 3s

Then I verify Unapproved/Uncleared and Pediatric Post-market Surveillance fields are null 7s

And I connect to database and verify the values 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

And I complete the remaining trial 19s

And I click the Save the Draft button 2s

And I navigate to Search Clinical Trials 0s

Then I search for 'Saved Drafts' with Identifier Type as NCT (Exact Match) with NCTID "NCT03091114" 2s

And I verify the search results are displayed successfully 1s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

And I complete the remaining trial 18s

And I click the Save the Draft button 3s

And I navigate to Search Clinical Trials 0s

Then I search for 'Saved Drafts' with Identifier Type as Lead Organization 2s

And I verify the search results for Lead Organization are displayed successfully 2s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

And I complete the remaining trial 20s

And I click the Save the Draft button 2s

And I navigate to Search Clinical Trials 0s

Then I search for 'Saved Drafts' with Identifier Type as Other Identifier "32123123321" 2s

And I verify the search results are displayed successfully 2s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

And I complete the remaining trial 20s

And I click the Save the Draft button 1s

And I navigate to Search Clinical Trials 0s

Then I search for 'Saved Drafts' with Organization Type as Lead Organization "Novartis" 2s + Show Error

undefined local variable or method `access_type' for #(Object:0x00000002bbc950) (NameError)
./features/support/helper_methods.rb:855:in `auto_complete_enter_select'
./features/step_definitions/search_save_as_draft_steps.rb:64:in `/^I search for 'Saved Drafts' with Organization Type as Lead Organization "([^"]*)"$/'
features/registry/ui/search_save_as_draft.feature:48:in `Then I search for 'Saved Drafts' with Organization Type as Lead Organization "Novartis"'

And I verify the search results are displayed successfully

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

And I complete the remaining trial 21s

And I click the Save the Draft button 2s

And I navigate to Search Clinical Trials 1s

Then I search for 'Saved Drafts' with Principal Investigator as "Barnett,Teresita" 1s

And I verify the search results for Principal Investigator are displayed successfully 2s

This feature scenarios validates the accrual count and cut-off date column exists in the
study_site_subject_accrual_count table in PA database.

Given PA database connection is successfully 0s

And I am able to queary information_schema.columns to verify table name: "study_site_subject_accrual_count" and column name: "cutoff_date" 0s

Then the table name: "study_site_subject_accrual_count" and column name: "cutoff_date" returned from the information schema 0s

Given PA database connection is successfully 0s

And accrual count and cut-off date columns in the study_site_subject_accrual_count table should be present 0s

And get accrual count and cut-off date by providing NCT ID: "NCT00644878" 0s

Then accrual count and cut off date should be returned 0s

This feature scenarios validates the ctrp backend import api service RULES to import a trial from clinicaltrials.gov system.

Given A Trial already exist in CTRP with NCT ID NCT03181399 3s

And I changed the date_created in ctgovimport_log table to have old Date as compare to CT.gov 0s

And I used the API rest service to Update NCT ID NCT03181399 3s

Then Verify the most recent record in ctgovimport_log table for below values 0s

Given I login into CTRP and search with NCI ID "NCI-2017-00331" 27s

When I click on "Eligibility Criteria" link 4s

Then Gender Based field is required 1s

Given I login into CTRP and search with NCI ID "NCI-2017-00331" 3s

And I click on "Eligibility Criteria" link 1s

When Sex is "Male" 0s

And Gender based study is Yes 0s

Then Gender Based eligibility description is available 5s

When Sex is "Female" 0s

And Gender based study is Yes 0s

Then Gender Based eligibility description is available 5s

When Sex is "All" 0s

Then Gender Based eligibility description is not available 5s

Given I login into CTRP and search with NCI ID "NCI-2017-00331" 4s

And I click on "Eligibility Criteria" link 1s

When Sex is "Male" 0s

And Gender based study is No 0s

Then Gender Based eligibility description is not available 5s

When Sex is "Female" 0s

And Gender based study is No 0s

Then Gender Based eligibility description is not available 5s

When Sex is "All" 0s

Then Gender Based eligibility description is not available 5s

Given I login into CTRP and search with NCI ID "NCI-2017-00331" 2s

And I click on "Eligibility Criteria" link 2s

Then Gender is changed to "Sex" 0s

Given I login into CTRP and search with NCI ID "NCI-2017-00331" 2s

And I click on "Eligibility Criteria" link 2s

Then these existing fields value should be updated 0s

Given I login into CTRP and search with NCI ID "NCI-2017-00331" 4s

When I click on "Eligibility Criteria" link 1s

Then I verify Gender Based and Gender Eligibility Description fields 2s

Given I login into CTRP and search with NCI ID "NCI-2017-00331" 2s

When I click on "Eligibility Criteria" link 2s

Then Gender Based field is required 1s

Given I login into CTRP and search with NCI ID "NCI-2017-00331" 3s

When I click on "Eligibility Criteria" link 1s

When Sex is "Male" 0s

And Gender based study is Yes 0s

Then Gender Based eligibility description is available 5s

When Sex is "Female" 0s

And Gender based study is Yes 0s

Then Gender Based eligibility description is available 5s

When Sex is "All" 0s

Then Gender Based eligibility description is not available 5s

Given I login into CTRP and search with NCI ID "NCI-2017-00331" 3s

When I click on "Eligibility Criteria" link 3s

When Sex is "Male" 0s

And Gender based study is No 0s

Then Gender Based eligibility description is not available 5s

When Sex is "Female" 0s

And Gender based study is No 0s

Then Gender Based eligibility description is not available 5s

When Sex is "All" 0s

Then Gender Based eligibility description is not available 5s

Given I login into CTRP and search with NCI ID "NCI-2017-00331" 3s

When I click on "Eligibility Criteria" link 1s

Then Gender is changed to "Sex" 0s

Given I login into CTRP and search with NCI ID "NCI-2017-00331" 4s

When I click on "Eligibility Criteria" link 4s

Then these existing fields value should be updated 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 3s

When I click on "Eligibility Criteria" link 2s

Then I verify validations for accepts healthy volunteers "", sex "All", minimum age "10", maximum age "40", min unit "Years", max unit "Years", error message "AHVIndicator must be Entered" 2s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 3s

When I click on "Eligibility Criteria" link 3s

Then I verify validations for accepts healthy volunteers "No", sex "", minimum age "10", maximum age "40", min unit "Years", max unit "Years", error message "GenderCode must be Entered" 3s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 3s

When I click on "Eligibility Criteria" link 1s

Then I verify validations for accepts healthy volunteers "No", sex "All", minimum age "", maximum age "40", min unit "Years", max unit "Years", error message "Minimum Age must be Entered Please Enter a numeric value" 1s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 3s

When I click on "Eligibility Criteria" link 1s

Then I verify validations for accepts healthy volunteers "No", sex "All", minimum age "10", maximum age "", min unit "Years", max unit "Years", error message "Maximum Age must be Entered Please Enter a numeric value" 7s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/eligibility_criteria.rb:200:in `eligibility_criteria_fill_data'
./features/step_definitions/eligibility_criteria.rb:188:in `/^I verify validations for accepts healthy volunteers "([^"]*)", sex "([^"]*)", minimum age "([^"]*)", maximum age "([^"]*)", min unit "([^"]*)", max unit "([^"]*)", error message "([^"]*)"$/'
features/pa/ui/eligibility_criteria.feature:149:in `Then I verify validations for accepts healthy volunteers "No", sex "All", minimum age "10", maximum age "", min unit "Years", max unit "Years", error message "Maximum Age must be Entered
Please Enter a numeric value"'
features/pa/ui/eligibility_criteria.feature:143:in `Then I verify validations for accepts healthy volunteers "(accepts_healthy_volunteers)", sex "(sex)", minimum age "(minimum_age)", maximum age "(maximum_age)", min unit "(min_unit)", max unit "(max_unit)", error message "(error_message)"'

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 16s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:24:in `search_which_trial'
./features/step_definitions/reg_information.rb:18:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/eligibility_criteria.feature:150:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331"'
features/pa/ui/eligibility_criteria.feature:141:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331"'

When I click on "Eligibility Criteria" link

Then I verify validations for accepts healthy volunteers "No", sex "All", minimum age "10", maximum age "40", min unit "", max unit "Years", error message "Unit must be Entered"

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:9071:in `Utils.initWebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:25:in `log_on_user'
./features/step_definitions/reg_information.rb:15:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/eligibility_criteria.feature:151:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331"'
features/pa/ui/eligibility_criteria.feature:141:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331"'

When I click on "Eligibility Criteria" link

Then I verify validations for accepts healthy volunteers "No", sex "All", minimum age "10", maximum age "40", min unit "Years", max unit "", error message "Unit must be Entered"

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 1m 0s + Show Error

Net::ReadTimeout (Net::ReadTimeout)
./features/support/helper_methods.rb:147:in `enter_text'
./features/support/pa/search_clinical_trials_pa.rb:20:in `search_by_identifier'
./features/step_definitions/reg_information.rb:16:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/eligibility_criteria.feature:155:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331"'

When I click on "Eligibility Criteria" link

And I enter all details except mandatory fields in Eligibility Criteria section(PA)

Then I verify below error messages are displayed in Eligibility Criteria (PA) for mandatory fields

Given I login into CTRP and search with NCI ID "NCI-2017-00331" 6s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:9071:in `Utils.initWebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:25:in `log_on_user'
./features/step_definitions/eligibility_criteria.rb:22:in `/^I login into CTRP and search with NCI ID "([^"]*)"$/'
features/pa/ui/eligibility_criteria.feature:177:in `Given I login into CTRP and search with NCI ID "NCI-2017-00331"'

And I click on "Eligibility Criteria" link

When Sex is "Male"

And Gender based study is Yes

Then Gender Based eligibility description is available

When Sex is "All"

Then Gender Based eligibility description is not available

When I click on save

Then Gender Based eligibility description is not available

Given I want to Import a trial into CTRP with NCT ID "NCT00724828" 1m 0s + Show Error

Net::ReadTimeout (Net::ReadTimeout)
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/trial_history_information.rb:18:in `/^I want to Import a trial into CTRP with NCT ID "([^"]*)"$/'
features/pa/ui/eligibility_criteria.feature:190:in `Given I want to Import a trial into CTRP with NCT ID "NCT00724828"'

When I click on the Search Trials link

And I click accept button in the trial validation screen

Then I click on "Eligibility Criteria" link

And I click on save button in Inclusion criteria page

And Import the same trial into CTRP with NCT ID "NCT00724828"

And verify the Acknowledgement is not generated in Trial History Update page

Given I login into CTRP and search with NCI ID "NCI-2017-02788" 41s + Show Error

Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:9071:in `Utils.initWebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:25:in `log_on_user'
./features/step_definitions/eligibility_criteria.rb:22:in `/^I login into CTRP and search with NCI ID "([^"]*)"$/'
features/pa/ui/eligibility_criteria.feature:242:in `Given I login into CTRP and search with NCI ID "NCI-2017-02788"'

When I click on "Eligibility Criteria" link

Then I add a criteria

And I verify the validation message "Display Order(s) exist: [1]" is not present

And I connect to db and verify the record is saved in order

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02663" 1m 0s + Show Error

Net::ReadTimeout (Net::ReadTimeout)
./features/support/helper_methods.rb:147:in `enter_text'
./features/support/pa/search_clinical_trials_pa.rb:20:in `search_by_identifier'
./features/step_definitions/reg_information.rb:16:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/registry/ui/emails.feature:13:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02663"'

And I navigate to "Trial Validation" link

And I provide the Amendment reason and click accept

Then I connect to database and verify "Amendment Accepted" email is sent with correct body

Given I login into CTRP Registry 16s

When I navigate to persons 3s

Then I search for a 'person' with ctep ID "549092" 2s

And I verify the person information is returned successfully 4s

Given I login into CTRP Registry 16s

When I navigate to organizations 3s

Then I search for a 'organization' with ctep ID "NY016" 2s

And I verify the organization information is returned successfully 4s

Given I login into CTRP Registry 15s

When I navigate to a Industrial/Other screen 1s

Then I import a trial "NCT01136031" from clinicaltrials.gov 6s

And I verify trial is imported successfully 0s

Then I add a participating site to the imported trial 10s

And I verify participating site is added successfully 4s

Given I login into CTRP Registry 1s

When I navigate to a Add Sites screen 1s

Then I search for a trial with NCI ID "NCI-2017-01002" 3s

When I click on add site button 1s

Then I add a site and click save 5s

And I verify the participating site is added successfully 4s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02625" and click on Change status 5s

Then I update the trial status and click on add status 4s

And I click on save button 3s

Then I connect to database and verify status of the trial is updated 0s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02625" and click on Verify data 4s

Then I save a data verification record 4s

And I connect to database and verify the verification date of the trial is updated 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I go to Regulatory Information section 4s

And "Trial Oversight Authority Country :" field is not displayed in Regulatory Information(Reg) screen 6s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 1s

Then I go to Regulatory Information section 4s

And "Trial Oversight Authority Organization Name :" field is not displayed in the Regulatory Information(Reg) screen 6s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I go to Regulatory Information section 4s

And the newly added fields with options should be there 6s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to Regulatory Information section 4s

And I select Yes for the field Studies a U.S. FDA-regulated Device Product 1s

Then the existing field Delayed Posting Indicator should be updated to "Unapproved/Uncleared Device :" 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I go to Regulatory Information section 4s

And FDA Regulated Intervention Indicator field is No 1s

Then Section 801 Indicator field should not be visible 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I go to Regulatory Information section 5s

And FDA Regulated Intervention Indicator is Yes 1s

Then Section 801 Indicator field should be visible 0s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I go to Regulatory Information section 4s

And I select Yes for Studies a U.S. FDA-regulated Device Product field 0s

Then the field Pediatric Post-market Surveillance should be displayed 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I go to Regulatory Information section 4s

And I select No for Studies a U.S. FDA-regulated Device Product field 1s

Then the fields below should not be displayed 0s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

Then I go to Regulatory Information section 4s

And I select Yes for Studies a U.S. FDA-regulated Device Product field 1s

When Unapproved/Uncleared Device is No 0s

Then Post Prior to U.S. FDA Approval or Clearance field is not visible 6s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I populate all the required fields 40s

And I save the "National" trial as draft 3s

Then "National" screen Saved as draft trial is created successfully 0s

And I verify Regulatory Information section fields are saved for "National" screen 1s

Given I login into CTRP Registry 2s

When I navigate to a new Externally Peer-Reviewed screen 1s

Then I populate all the required fields 26s + Show Error

Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible'
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_'
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h'
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/registry_reg_info.rb:64:in `/^I enter all the required fields$/'
./features/step_definitions/registry_reg_info.rb:106:in `/^I populate all the required fields$/'
features/registry/ui/regulatory_information.feature:122:in `Then I populate all the required fields'

And I save the "Externally Peer-Reviewed" trial as draft

Then "Externally Peer-Reviewed" screen Saved as draft trial is created successfully

And I verify Regulatory Information section fields are saved for "Externally Peer-Reviewed" screen

Given I login into CTRP Registry 3s

When I navigate to a new National trial screen 0s

Then I populate all the required fields 48s

And I click on review trial and verify reg info fields are displayed on review trial page 9s

When I click on submit trial 4s

Then I verify National trial is created successfully 0s

When I login into CTRP and search for a trial with NCI ID 38s

Then I navigate to Regulatory Information screen 3s

And I verify the values are matching as in registry Reg Info section. 0s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02637" 7s

Then I navigate to Regulatory Information screen 5s

And I fill all details and click save in Regulatory Information Screen 9s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 17s

Then I navigate to Clinical Trials Section and search for NCI Id "NCI-2017-02637" 8s

And I verify the PA Reg Info fields entered are displayed in Registry Reg Info fields 7s

Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02637" 32s

Then I navigate to Regulatory Information screen 5s

And I fill all details as No and click save in Regulatory Information Screen 4s

Then I verify confirm message "Message. Record Updated." is displayed 4s

When I login into CTRP Registry 16s

Then I navigate to Clinical Trials Section and search for NCI Id "NCI-2017-02637" 6s + Show Error

Unable to locate element: {"method":"xpath","selector":"//a[contains(text(),'Search ')]"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180509-20792-2acprg/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/registry_reg_info.rb:328:in `/^I navigate to Clinical Trials Section and search for NCI Id "([^"]*)"$/'
features/registry/ui/regulatory_information.feature:165:in `Then I navigate to Clinical Trials Section and search for NCI Id "NCI-2017-02637"'

And I verify the PA Reg Info values entered are displayed in Registry Reg Info fields

Given I login into CTRP Registry 15s

When I navigate to a new National trial screen 2s

Then I populate all the required fields 42s

And I save the "National" trial as draft 2s

Then "National" screen Saved as draft trial is created successfully 0s

And I verify the valid saved draft data with temporary id is returned by the rest service 0s

When I navigate to Clinical Trials Section and search for the saved draft id 7s

And I click on review trial 8s

And I click on submit trial in registry 4s

Then I verify the saved draft data with temporary id is deleted 6s

And I verify the submitted trial has valid data 0s

Given I login into CTRP Registry 16s

When I navigate to a new National trial screen 2s

Then I select each trial phase from the below list and verify 'Is this a Pilot?' has default value as '--Select--' 14s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-00327" and click on Amend 4s

Then I select each trial phase from the below list and verify 'Is this a Pilot?' has default value as '--Select--' 12s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02799" and click on Amend 4s

Then I select trial phase as "Early Phase I" and pilot value as "No" in amend page 8s

Then I click on review trial 2s

And I verify the 'Is this a Pilot?' field value on review trial page 0s

And I verify the 'Is this a Pilot?' field value on submit trial page 6s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02800" and click on Amend 3s

Then I select trial phase as "Early Phase I" and pilot value as "--Select--" in amend page 7s

Then I click on review trial 3s

And I verify the 'Is this a Pilot?' field value on review trial page 0s

And I verify the 'Is this a Pilot?' field value on submit trial page 5s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02801" and click on Amend 3s

Then I select trial phase as "NA" and pilot value as "Yes" in amend page 7s

Then I click on review trial 1s

And I verify the 'Is this a Pilot?' field value on review trial page 0s

And I verify the 'Is this a Pilot?' field value on submit trial page 6s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02802" and click on Amend 3s

Then I select trial phase as "NA" and pilot value as "No" in amend page 8s

Then I click on review trial 3s

And I verify the 'Is this a Pilot?' field value on review trial page 0s

And I verify the 'Is this a Pilot?' field value on submit trial page 6s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02803" and click on Amend 4s

Then I select trial phase as "NA" and pilot value as "--Select--" in amend page 8s

Then I click on review trial 2s

And I verify the 'Is this a Pilot?' field value on review trial page 0s

And I verify the 'Is this a Pilot?' field value on submit trial page 7s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02661" and click on update 5s

Then I verify phase value is "II" and pilot value is "Yes" 4s

And I click on review trial 2s

Then I verify the 'Pilot?' field value on review trial page 2s

And I verify the 'Pilot?' field value on submit trial page 3s

And I connect to the database and verify the pilot value is updated 0s

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-00002" and click on update 5s

Then I verify phase value is "Early Phase I" and pilot value is "No" 4s

And I click on review trial 2s

Then I verify the 'Pilot?' field value on review trial page 2s

And I verify the 'Pilot?' field value on submit trial page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-00332" and click on update 3s

Then I verify phase value is "I" and pilot value is "--Select--" 4s

And I click on review trial 3s

Then I verify the 'Pilot?' field value on review trial page 2s

And I verify the 'Pilot?' field value on submit trial page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP Registry 3s

When I navigate to a new National trial screen 0s

Then I click on non-interventional radio button 5s

Then I select each trial phase from the below list and verify 'Is this a Pilot?' has default value as '--Select--' 11s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02804" and click on Amend 4s

Then I select each trial phase from the below list and verify 'Is this a Pilot?' has default value as '--Select--' 16s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02806" and click on Amend 3s

Then I select trial phase as "NA" and pilot value as "No" in amend page 10s

Then I click on review trial 2s

And I verify the 'Is this a Pilot?' field value on review trial page 0s

And I verify the 'Is this a Pilot?' field value on submit trial page 6s

And I connect to the database and verify the pilot value is updated 0s

Given I login into CTRP Registry 3s

When I search for a trial "NCI-2017-02807" and click on Amend 4s

Then I select trial phase as "NA" and pilot value as "--Select--" in amend page 8s

Then I click on review trial 3s

And I verify the 'Is this a Pilot?' field value on review trial page 0s

And I verify the 'Is this a Pilot?' field value on submit trial page 7s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02621" and click on update 5s

Then I verify phase value is "Early Phase I" and pilot value is "--Select--" 5s

And I click on review trial 2s

Then I verify the 'Pilot?' field value on review trial page 2s

And I verify the 'Pilot?' field value on submit trial page 3s

And I connect to the database and verify the pilot value is updated 1s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02815" 3s

Then I verify 'Is this a Pilot?' field value on trial details page 2s

And I navigate to search results page and click on update trial 3s

Then I verify the 'Is this a Pilot?' field value on update trial page 2s

Then I click on review trial 2s

And I verify the 'Pilot?' field value on review trial page 2s

And I verify the 'Pilot?' field value on submit trial page 3s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02824" 3s

Then I verify 'Is this a Pilot?' field value on trial details page 3s

And I navigate to search results page and click on update trial 2s

Then I verify the 'Is this a Pilot?' field value on update trial page 2s

Then I click on review trial 2s

And I verify the 'Pilot?' field value on review trial page 2s

And I verify the 'Pilot?' field value on submit trial page 3s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02825" 4s

Then I verify 'Is this a Pilot?' field value on trial details page 3s

And I navigate to search results page and click on update trial 2s

Then I verify the 'Is this a Pilot?' field value on update trial page 2s

Then I click on review trial 2s

And I verify the 'Pilot?' field value on review trial page 2s

And I verify the 'Pilot?' field value on submit trial page 3s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02826" 5s

Then I verify 'Is this a Pilot?' field value on trial details page 4s

And I navigate to search results page and click on update trial 3s

Then I verify the 'Is this a Pilot?' field value on update trial page 2s

Then I click on review trial 3s

And I verify the 'Pilot?' field value on review trial page 2s

And I verify the 'Pilot?' field value on submit trial page 2s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02827" 5s

Then I verify 'Is this a Pilot?' field value on trial details page 4s

And I navigate to search results page and click on update trial 3s

Then I verify the 'Is this a Pilot?' field value on update trial page 2s

Then I click on review trial 2s

And I verify the 'Pilot?' field value on review trial page 2s

And I verify the 'Pilot?' field value on submit trial page 2s

Given I login into CTRP Registry 1s

When I search for a trial "NCI-2017-02828" 5s

Then I verify 'Is this a Pilot?' field value on trial details page 4s

And I navigate to search results page and click on update trial 2s

Then I verify the 'Is this a Pilot?' field value on update trial page 2s

Then I click on review trial 4s

And I verify the 'Pilot?' field value on review trial page 2s

And I verify the 'Pilot?' field value on submit trial page 3s

Given I login into CTRP Registry 2s

When I search for a trial "NCI-2017-02829" 7s

Then I verify 'Is this a Pilot?' field value on trial details page 4s

And I navigate to search results page and click on update trial 3s

Then I verify the 'Is this a Pilot?' field value on update trial page 4s

Then I click on review trial 2s

And I verify the 'Pilot?' field value on review trial page 2s

And I verify the 'Pilot?' field value on submit trial page 3s

Given I login into CTRP Registry 2s

When I click on search clinical page 0s

Then I Select pilot value as 'Yes' 5s

And I click on search all trials 2s

And I verify the trials with pilot value as 'Yes' are displayed 4s

Given I login into CTRP Registry 2s

When I click on search clinical page 0s

Then I Select pilot value as 'No' 1s

And I click on search all trials 7s

And I verify the trials with pilot value as 'No' are displayed 4s

Given I login into CTRP Registry 2s

When I click on search clinical page 0s

Then I Select pilot value as 'None' 1s

And I click on search all trials 6s

And I verify the trials with pilot value as 'None' are displayed 3s

Given I login into CTRP Registry 2s

When I click on search clinical page 0s

Then I Select pilot value as '--Select--' and Purpose as "Treatment" 1s

And I click on search all trials 5s

And I verify the trials with pilot value 'Yes' , 'No' and 'None' are displayed 4s

Given I login into CTRP Registry 2s

When I navigate to Clinical Trials Section and search for title "PILOT_test" with pilot value "Yes" 4s

Then I verify only trials with pilot value with Yes are displayed 2s

Given I login into CTRP Registry 2s

When I navigate to Clinical Trials Section and search for title "PILOT_test" with pilot value "No" 4s

Then I verify only trials with pilot value with No are displayed 3s

Given I login into CTRP Registry 2s

When I navigate to Clinical Trials Section and search for title "PILOT_test" with pilot value "None" 6s

Then I verify only trials with pilot value with None are displayed 2s

- To remove the check in Registry that currently prevents the start date to be in the future

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 1s

And I select base trial status as "In Review" with validation "V(valid)" 7s

When I switch to below trial status, following validations should be there 53s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

And I select base trial status as "Approved" with validation "W(In Review)" 8s

When I switch to below trial status, following validations should be there 58s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

And I select base trial status as "Withdrawn" with validation "W(In Review);W(Approved)" 7s

When I switch to below trial status, following validations should be there 47s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

And I select base trial status as "Active" with validation "W(In Review);W(Approved)" 5s

When I switch to below trial status, following validations should be there 41s

Given I login into CTRP Registry 1s

When I navigate to a new National trial screen 0s

And I select base trial status as "Enrolling by Invitation" with validation "W(In Review);W(Approved)" 5s

When I switch to below trial status, following validations should be there 53s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

And I select base trial status as "Closed to Accrual" with validation "W(In Review);W(Approved)" 8s

When I switch to below trial status, following validations should be there 1m 3s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

And I select base trial status as "Closed to Accrual and Intervention" with validation "W(In Review);W(Approved)" 9s

When I switch to below trial status, following validations should be there 59s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

And I select base trial status as "Temporarily Closed to Accrual" with validation "W(In Review);W(Approved)" 9s

When I switch to below trial status, following validations should be there 55s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 1s

And I select base trial status as "Temporarily Closed to Accrual and Intervention" with validation "W(In Review);W(Approved);W(Temporarily Closed to Accrual)" 8s

When I switch to below trial status, following validations should be there 55s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

And I select base trial status as "Complete" with validation "W(In Review);W(Approved);W(Closed to Accrual and Intervention)" 7s

When I switch to below trial status, following validations should be there 52s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

And I select base trial status as "Administratively Complete" with validation "W(In Review);W(Approved);W(Active);W(Closed to Accrual);W(Closed to Accrual and Intervention)" 8s

When I switch to below trial status, following validations should be there 55s

Given I login into CTRP Registry 2s

When I navigate to a new National trial screen 0s

Then I enter all the required fields in Registry screen for "new" trial 27s

And for below status "Status", trial start date when selected as "Anticipated" then "Validation" should be 2m 31s

Given I login into CTRP Registry 2s

And I search for a trial "NCI-2018-02982" and click on update 3s

Then It shall take to the Update Trial page 3s

And I delete all existing status 1s

And for below status "Status", trial start date when selected as "Anticipated" then "Validation" should be 2m 5s

Given I login into CTRP Registry 1s

And I search for a trial "NCI-2018-02983" and click on update 2s

Then It shall take to the Update Trial page 3s

And I delete all existing status 2s

And for below status "Status", trial start date when selected as "Anticipated" then "Validation" should be 2m 12s

Given I login into CTRP Registry 1s

And I search for Trial with NCI ID "NCI-2018-02981" 3s

And I select to Amend the Trial 1s

Then It shall take to the Amend Trial page 5s

And I enter all the required fields for "Amendment" 1s

And I delete all existing status 1s

And for below status "Status", trial start date when selected as "Anticipated" then "Validation" should be 1m 53s

Given I login into CTRP Registry 1s

And I search for Trial with NCI ID "NCI-2018-02984" 1s

And I select to Amend the Trial 0s

Then It shall take to the Amend Trial page 4s

And I enter all the required fields for "Amendment" 1s

And I delete all existing status 1s

And for below status "Status", trial start date when selected as "Anticipated" then "Validation" should be 1m 56s

Given I login into CTRP Registry 2s

And I search for a trial "NCI-2018-02992" and click on update 4s

Then It shall take to the Update Trial page 3s

And from "Approved" status to below "Status", trial start date when selected as "Anticipated" then "Validation" should be 1m 20s

Then I submit the Trial with "Active" status 9s

Given I login into CTRP Registry 1s

And I search for Trial with NCI ID "NCI-2018-02985" 2s

And I select to Amend the Trial 1s

Then It shall take to the Amend Trial page 4s

And I enter all the required fields for "Amendment" 1s

And from "Approved" status to below "Status", trial start date when selected as "Anticipated" then "Validation" should be 1m 31s

Then I submit the Trial with "Active" status 11s

Given I login into CTRP Registry 2s

And I search for a trial "NCI-2018-02990" and click on update 3s

Then It shall take to the Update Trial page 3s

And from "Approved" status to below "Status", trial start date when selected as "Actual" then "Validation" should be 1m 11s

Then I submit the Trial with "Active" status 6s

Given I login into CTRP Registry 1s

And I search for Trial with NCI ID "NCI-2018-02991" 1s

And I select to Amend the Trial 0s

Then It shall take to the Amend Trial page 3s

And I enter all the required fields for "Amendment" 0s

And from "Approved" status to below "Status", trial start date when selected as "Actual" then "Validation" should be 1m 33s

Then I submit the Trial with "Active" status 0s + Show Error

arguments[0] is undefined (Selenium::WebDriver::Error::JavascriptError)
[remote server] https://trials-int.nci.nih.gov/registry/protected/amendTrialedit.action line 69 ) Function:1:in `anonymous'
[remote server] https://trials-int.nci.nih.gov/registry/protected/amendTrialedit.action:69:in `handleEvaluateEvent'
./features/support/helper_methods.rb:127:in `click_forcefully'
./features/support/registry/register_trial.rb:401:in `delete_status'
./features/support/registry/trial_status_helper.rb:136:in `delete_status'
./features/step_definitions/registry_reg_info.rb:987:in `/^I submit the Trial with "([^"]*)" status$/'
features/registry/ui/trial_status.feature:211:in `Then I submit the Trial with "Active" status'

Given I click to view tsr of "NCI-2017-02716" 29s

Then the field "Trial Oversight Authority Country" should not be present 6s

Given I click to view tsr of "NCI-2017-02716" 0s

Then the field "Trial Oversight Authority Organization Name" should not be present 5s

Given I click to view tsr of "NCI-2017-02716" 0s

Then the field "Studies a U.S. FDA-regulated Drug Product" should be present 5s

And the field "Studies a U.S. FDA-regulated Drug Product" should have a value as "No Data Available" 5s

And I verify "fda_regulated_device" is nil in dynamo db 6s

Given I click to view tsr of "NCI-2017-02716" 0s

Then the field "Studies a U.S. FDA-regulated Device Product" should be present 5s

And the field "Studies a U.S. FDA-regulated Device Product" should have a value as "No Data Available" 5s

And I verify "fda_regulated_drug" is nil in dynamo db 6s

Given I click to view tsr of "NCI-2017-02714" 6s

Then the field "Delayed Posting Indicator" should not be present 5s

And the field "Unapproved/Uncleared Device" should be present 5s

And the field "Unapproved/Uncleared Device?" should have a value as "No Data Available" 4s

Given I click to view tsr of "NCI-2017-02715" 6s

Then the field "Post Prior to U.S. FDA Approval or Clearance" should be present 5s

And the field "Post Prior to U.S. FDA Approval or Clearance" should have a value as "No Data Available" 5s

Given I click to view tsr of "NCI-2017-02714" 0s

Then the field "Pediatric Post-market Surveillance" should be present 5s

And the field "Pediatric Post-market Surveillance (of a Device Product)" should have a value as "No Data Available" 5s

Given I click to view tsr of "NCI-2017-02716" 0s

Then the field "Product Exported from the U.S" should be present 5s

And the field "Product Exported from the U.S" should have a value as "No Data Available" 5s

And I verify "exported_from_us" is nil in dynamo db 6s

Given I click to view tsr of "NCI-2017-02712" 6s

Then the field "Studies a U.S. FDA-regulated Drug Product" should have a value as "Yes" 5s

And the field "Studies a U.S. FDA-regulated Device Product" should have a value as "Yes" 5s

And the field "Unapproved/Uncleared Device?" should have a value as "Yes" 5s

And the field "Post Prior to U.S. FDA Approval or Clearance" should have a value as "Yes" 5s

And the field "Pediatric Post-market Surveillance (of a Device Product)" should have a value as "Yes" 6s

And the field "Product Exported from the U.S" should have a value as "Yes" 4s

And the field "FDA Regulated Intervention?" should have a value as "Yes" 4s

And the field "Section 801?" should have a value as "Yes" 4s

And the field "DMC Appointed?" should have a value as "Yes" 4s

Given I click to view tsr of "NCI-2017-02713" 5s

Then the field "Studies a U.S. FDA-regulated Drug Product" should have a value as "No" 4s

And the field "Studies a U.S. FDA-regulated Device Product" should have a value as "No" 4s

And the field "Unapproved/Uncleared Device?" should not be present 4s

And the field "Post Prior to U.S. FDA Approval or Clearance" should not be present 4s

And the field "Pediatric Post-market Surveillance (of a Device Product)" should not be present 4s

And the field "Product Exported from the U.S" should have a value as "No" 4s

And the field "FDA Regulated Intervention?" should have a value as "No" 4s

And the field "Section 801?" should not be present 4s

And the field "DMC Appointed?" should have a value as "No" 4s

Given I click to view tsr of "NCI-2017-02714" 0s

Then the field "Studies a U.S. FDA-regulated Device Product" should have a value as "Yes" 4s

And the field "Unapproved/Uncleared Device?" should have a value as "No Data Available" 4s

And the field "Pediatric Post-market Surveillance (of a Device Product)" should have a value as "No Data Available" 4s

Then I verify "delayed_posting_indicator" field is null in database 0s

And I verify "ped_postmarket_surv" is nil in dynamo db 6s

Given I click to view tsr of "NCI-2017-02715" 0s

Then the field "Unapproved/Uncleared Device?" should have a value as "Yes" 4s

And the field "Post Prior to U.S. FDA Approval or Clearance" should have a value as "No Data Available" 4s

And I verify "post_prior_to_approval" is nil in dynamo db 6s

Given I click to view tsr of "NCI-2017-02715" 0s

And the field "FDA Regulated Intervention?" should have a value as "Yes" 4s

And the field "Section 801?" should have a value as "No Data Available" 4s

And I verify "section801_indicator" field is null in database 0s

Given I click to view tsr of "NCI-2017-02681" 4s

Then the value of Prinicipal Investigator should be "Barnett, Teresita" 5s

And the value "Barnett, Teresita affiliated with Novartis Pharmaceuticals" should not be present 4s

Given I click to view tsr of "NCI-2017-02681" 0s

Then the value for Overall Official should be "Barnett, Teresita (Principal Investigator), Novartis Pharmaceuticals" 4s

And the value "Barnett, Teresita affiliated with Novartis Pharmaceuticals in the role of Principal Investigator" should not be present 4s

Given I click to view tsr of "NCI-2017-02719" 4s

Then the field "Model Description" should be present 4s

Given I click to view tsr of "NCI-2017-02719" 0s

Then the field "Masking Description" should be present 4s

Given I click to view tsr of "NCI-2017-02719" 0s

Then the field "Study Classification" should not be present 4s

Given I click to view tsr of "NCI-2017-02720" 4s

Then the field "Device Feasibility" should be present 4s

Given I click to view tsr of "NCI-2017-02720" 0s

Then the field "Interventional Model" should not be present 4s

And the field "Interventional Study Model" should be present 4s

And the field "Sequential Assignment" should be present 4s

Given I click to view tsr of "NCI-2017-02719" 0s

Then the field "Masking Roles" should not be present 4s

And the field "Masking" should be present 4s

Given I click to view tsr of "NCI-2017-02720" 0s

Then the field "Subject:" should not be present 5s

And the field "Participant" should be present 4s

And the field "Caregiver" should not be present 4s

And the field "Care Provider" should be present 4s

Given I click to view tsr of "NCI-2017-02720" 0s

Then the field "Masking Description" should have a value as "No Data Available" 4s

And the field "Model Description" should have a value as "No Data Available" 5s

And I verify "Masking Description" is nil in dynamo db 6s

And I verify "Model Description" is nil in dynamo db 6s

Given I click to view tsr of "NCI-2017-02721" 4s

Then the field "Expanded Access Record" should be present 4s

And the field "Expanded Access type" should not be present 4s

And the field "Expanded Access Record" value is displayed as "" when Availability of Expanded Access is "Unknown" 8s

Given I click to view tsr of "NCI-2017-02745" 4s

And the field "Expanded Access Record" value is displayed as "" when Availability of Expanded Access is "No" 9s

Given I click to view tsr of "NCI-2017-02746" 5s

And the field "Expanded Access Record" value is displayed as "No Data Available" when Availability of Expanded Access is "Yes" 9s

Given I click to view tsr of "NCI-2017-02721" 0s

Then the field "Exempt Indicator" should not be present 5s

Given I click to view tsr of "NCI-2017-02721" 0s

Then the field "Availability of Expanded Access" should be present 5s

And the field "Has Expanded Access" should not be present 5s

Given I click to view tsr of "NCI-2017-02721" 0s

Then the field "Availability of Expanded Access" should have a valid value as "Unknown" 9s

And I Connect to the database and verify "Availability of Expanded Access" is updated 1s

Given I click to view tsr of "NCI-2017-02722" 4s

Then the field "Gender Based" should be present 4s

Given I click to view tsr of "NCI-2017-02720" 0s

Then the field "Gender Based" should not be present 4s

Given I click to view tsr of "NCI-2017-02722" 0s

Then the field "Gender Eligibility Description" should be present 4s

And I verify "gender_description" is saved in dynamo db 0s

Given I click to view tsr of "NCI-2017-02723" 5s

Then the field "Gender Eligibility Description" should not be present 5s

And I verify "gender_description" is nil in dynamo db 6s

Given I click to view tsr of "NCI-2017-02720" 0s

Then the field "Sex" should be present 4s

And the field "Gender" should not be present 4s

Given I click to view tsr of "NCI-2017-02724" 4s

Then the field "Sex" should have a value as "All" 5s

And the value "Both" should not be present 5s

Given I click to view tsr of "NCI-2017-02725" 6s

Then the old field "Safety Issue?" should not be present 2s

Given I click to view tsr of "NCI-2017-02725" 0s

Then the value "11/27/2016" should be present 5s

Given I click to view tsr of "NCI-2017-02725" 0s

Then the value "05/02/2017" should be present 5s

Given I click to view tsr of "NCI-2017-02725" 0s

Then the value "08/09/2017" should be present 6s

Given I click to view tsr of "NCI-2017-02726" 4s

Then the value "05/01/2016" should be present 4s

Given I click to view tsr of "NCI-2017-02762" 4s

Then the value "Unapproved/Uncleared Device?" should not be present 4s